--delete --force Won't Remove Directories With Dotnames

Matt McCutchen hashproduct+rsync at gmail.com
Fri Mar 2 22:30:11 GMT 2007


On 3/2/07, Wayne Davison <wayned at samba.org> wrote:
> On Fri, Mar 02, 2007 at 10:37:04AM -0500, Matt McCutchen wrote:
> > Maybe rsync should automatically delete a directory's partial dir when
> > it finishes processing files immediately in that directory.
>
> I haven't wanted to do that to allow two different rsyncs to copy a
> (different) file into the same directory at the same time.

If the first rsync was given --delete, it would delete the second
rsync's file anyway, so I don't see why it shouldn't also delete the
second rsync's partial dir.

Matt


More information about the rsync mailing list