Re: [CentOS] excluding directories in rsync (SOLVED)

2007-10-02 Thread Bill-Schoolcraft
At Tue, 2 Oct 2007 it looks like Alfred von Campe composed: > > I am trying to exclude a directory (and all file and sub-directories > > under that directory) when using rsync. > > > > I have spent two days on google, but everything that I can find there > > involves excluding individual files, no

Re: [CentOS] excluding directories in rsync

2007-10-02 Thread Indunil Jayasooriya
This may work. If worked, Pls reply to the list by appending SOLVED to the subject line. Then, Others can beniit. rsync -avz --delete --exclude=**/stats --exclude=**/error --exclude=**/files/pictures -e "ssh -i /root/rsync/mirror-rsync-key" [EMAIL PROTECTED]:/var/www/ /var/www/ (The --delete opt

Re: [CentOS] excluding directories in rsync

2007-10-02 Thread Alfred von Campe
I am trying to exclude a directory (and all file and sub-directories under that directory) when using rsync. I have spent two days on google, but everything that I can find there involves excluding individual files, not an entire directory. Have you tried a simple "rsync --exclude remove_dir ..

[CentOS] excluding directories in rsync

2007-10-02 Thread Ski Dawg
Hello Everyone, I am trying to exclude a directory (and all file and sub-directories under that directory) when using rsync. I have spent two days on google, but everything that I can find there involves excluding individual files, not an entire directory. I have tried the following commands, bu