Questions with rsync

GMS S gmspro at yahoo.com
Wed Jun 3 13:48:45 UTC 2009


[
I would pretty much recommend that you specifically omit /dev and /proc
too.

Save the filter to a text file and make it look something like this (I
like the first one but you might not). + and - symbols should be
obvious.

- ~*
- /lost+found/
+ **/home/user/backup

rsync -vpa --filter='. /path/to/rsync-filter' $source $destination

I didn't think '-a' option indicates compression at all, only 'archive'
and you might want '-u' option for update.

Craig
]

So what would be the final command if I exclude these directory?

/lost+found
/media
/mnt
/dev
/proc
/home/user/backup
/dev

Thanks.


      




More information about the fedora-list mailing list