rsync recursive example

Below example would exclude work temp and logs directory contents and copy all remaining files recursively

rsync -av --exclude --exclude logs/* work/* --exclude temp/*  \
tomcat_123.001/  tomcat_123.002/

Please test the results before you make this type changes in a live system

Jul 3, 2014 by | 73 views
DevOpsRun.com is LIVE!

Articles for DevOps Geeks
MobaXterm Customization
CHMOD Explained!
Bash history powerful tips
Ubuntu bash from Windows