which rsync command?
Francis.Montagnac at inria.fr
Francis.Montagnac at inria.fr
Fri Feb 24 06:51:56 UTC 2017
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 /.*’ SOURCE/ TARGET/
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.
---
Francis
More information about the rsync
mailing list