excluding patterns from the --delete option?

Mason Lee mgl at netspace.org
Mon Mar 3 18:30:16 EST 2003


   Please could someone tell me if it is possible to specify in a single 
rsync command that the --delete option should apply to all files except 
those matching a certain pattern?  I want to do a -a archive, except 
that a few directories should not have --delete applied.  Do I need to 
use two rsync commands to achieve this?

   Thanks in advance for any help!

___
Mason Lee
Berkeley, CA 
  



More information about the rsync mailing list