Re: Delete files specified in --from-files-file that don't exist on the sender side

2009-03-08 Thread Matt McCutchen
On Fri, 2009-03-06 at 22:56 -0800, Wayne Davison wrote: If someone is doing inotify-based --files-from transfers and a filename is now missing, maybe they really want --delete-missing-args to ensure that the receiver doesn't have a version of the now-missing file. There's no need for that: the

Re: Delete files specified in --from-files-file that don't exist on the sender side

2009-03-06 Thread Matt McCutchen
On Sat, 2009-02-28 at 09:36 -0800, Wayne Davison wrote: I added an option to the latest development version that supports this: --delete-missing-args. Nice work! I feared the implementation would be much messier. Two issues you may wish to correct (or I might do it and post the patch): 1.

Re: Delete files specified in --from-files-file that don't exist on the sender side

2009-03-06 Thread Wayne Davison
On Fri, Mar 06, 2009 at 04:44:56PM -0500, Matt McCutchen wrote: Two issues you may wish to correct [...] Thanks for pointing those out! I've made sure that the mode does not get tweaked by --chmod if it is 0, and changed the --list-only output to start with *missing, as you suggested. While

Re: Delete files specified in --from-files-file that don't exist on the sender side

2009-02-28 Thread Wayne Davison
On Fri, Feb 13, 2009 at 12:31:54AM +0100, intripoon wrote: Now there are files I want to have deleted on PC B. They don't exist on PC A. I hoped I could just add them to the list of files given to --from-files, but the sender just tells me failed: No such file or directory (2) and goes on. I

Delete files specified in --from-files-file that don't exist on the sender side

2009-02-12 Thread intripoon
Hi ! I have a tree of files on PC A and a tree of files on PC B. PC B runs rsync in server mode. PC A connects to the rsync server. There is a file containing the files that rsync should copy efficiently from PC A to PC B. This works. Now there are files I want to have deleted on PC B.