Exclude dirs but not files??

Robert Denton robert at headsprout.com
Mon Apr 30 16:14:41 GMT 2007


Hi all, is it possible to exclude directories without excluding the  
files _in_ the directories?  I ask because one of the things I do on  
a nightly basis is do a recursive dry-run against an entire webroot  
with the size-only option.  Very often, all the files themselves will  
be just fine, but the directories themselves will be listed as  
needing updated.  It would be nice if I could exclude the directories  
_themselves_ but not the files they contain.  Does this make sense?

Robert 



More information about the rsync mailing list