search for: filestodelete

Displaying 1 result from an estimated 1 matches for "filestodelete".

Did you mean: file_to_delete
2005 Nov 16
1
list files to delete, rather than deleting them with --delete?
...s for N days after they went missing, and am wondering if there's a way I can coax rsync to give me a list of files that are missing on the source relative to the destination, so that they can be later deleted (ie after the N days). I envision a system like this: rsync [args] --list-of-missing=FilesToDelete [src] [dest] and then process ToDelete like so (supposing N is 3): 1. mv ToDelete-2 ToDelete-3 && mv ToDelete-1 ToDelete-2 2. cat ToDelete | grep -vf ToDelete-2 -f ToDelete-3 > ToDelete-1 3. delete from dest files mentioned in ToDelete-3 4. rm ToDelete-3 So I realize I can use --dry-...