Works like a charm! Thanks, Matt!!! --john
----- Forwarded Message ---- From: Matt McCutchen <[email protected]> To: [email protected] Cc: [email protected] Sent: Wed, March 3, 2010 8:41:22 PM Subject: Re: --prune-empty-dirs option not doing the job On Wed, 2010-03-03 at 17:29 -0800, [email protected] wrote: > test command: > rsync -avm --del --prune-empty-dirs > --compare-dest=/Users/generic/Desktop/B /Users/generic/Desktop/A/ > /Users/generic/Desktop/C > > produces a large number of directories and nested directories on the > destination that are empty. i've tried tweaking so many different > combinations of options i'm beginning to lose track! none of them > produce the proper result in the destination directory. This is a known issue: http://lists.samba.org/archive/rsync/2009-October/023981.html You can use "find DEST -depth -type d -empty -delete" to remove the extra directories. -- Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
