[lug] excluding directories with rsync

Paul Nowosielski paul at celebrityaccess.com
Wed Oct 11 15:43:57 MDT 2006


Dear All,

I'm trying to setup an rsync script to push data from a dev box to a live box.

The files live in different directories under /var/www

I need to exclude 5 of the directories and their content from being 
propagated.

I've found a command to exclude files but not directories.

Does anyone know of a command or switch to do this?

Thank you,

-- 
Paul Nowosielski
Webmaster




More information about the LUG mailing list