Filter file: selected directories only

Matt McCutchen matt at
Sun Oct 11 05:39:17 MDT 2009

On Fri, 2009-10-09 at 20:54 +0400, rsync at wrote:
> Well, I must say that this must by bone by rsync.
> That's because I'm creating small automation system,
> part of it is rsync-based.
> Yes, I can write "rm -r dirB/dir2", but this will break consitency
> of the whole system and removes some features that I need.

Details, please?  I know you're looking for a solution to some more
general problem, but I can only help you to the extent that you tell me
what that problem is.

If you just want to delete something using rsync, look into my "rsyncrm"


More information about the rsync mailing list