Exclude in destination folder.

Julien Groselle julien.groselle at gmail.com
Mon Jun 20 06:45:34 MDT 2011


Hello everybody,

I have a little problème with my rsync command.
Fist of all, let me explain you my architecture :

I work on Debian Linux (lenny & squeeze), i want rsync my /etc on
/var/backup/etc...
I need an archival sync, so --archive
I need to delete the folders/files in the destination, so --delete-after

But I use svn to add versionning to my /var/backup/etc, and svn add a ".svn"
hide folder which is not present on /etc, so rsyn delete it...

Could someone give me any exclude solution for destination folder ? Thank
you in advance.
I will try --exclude=".svn"...

Regards,

*Julien Groselle*
OpenSource System Administrator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20110620/eabfe079/attachment.html>


More information about the rsync mailing list