On Thu, 23 Feb 2017 18:07:20 +0000 David Epstein wrote:

> I will try the modification

> rsync --dry-run -avi --delete --filter 'protect /*’ --filter ‘protect /.*’  

The 'protect /.*’ is useless: unlike the shell, rsync interprets *
simply as a path component, regardless thus if it starts with a dot or
not. From the man:

   a '*' matches any path component, but it stops at slashes.

> Unfortunately, the output from —dry-run is still likely to be
> sufficiently extensive that looking over it won’t be a completely
> certain test.

Then redirect to a file and grep deleting in this file.


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

Reply via email to