example:
http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders
rsync -avt /home/workspace/symfony2.1_bannieres /home/local_workspace/admin --delete --exclude-from '/home/local_workspace/exclude_admin.txt'suppose we have a exclude file in /home/local_workspace/exclude_admin.txt, and his content is :
app/logs app/cache .svn .gitthis is the article:
http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders
评论
发表评论