partial-dir not being used?!

Matt McCutchen matt at mattmccutchen.net
Wed Jul 15 16:50:35 MDT 2009


On Wed, 2009-07-15 at 17:01 -0300, Carlos Carvalho wrote:
> Here's a running instance caught by ps (lines broken for readibility):
> 
> rsync --perms --times --timeout=3600 --stats --no-motd -hh --force
> --hard-links -ii --links --partial-dir=.~tmp~ --recursive --exclude
> <some excludes> --out-format=<format> --delete-during
> --max-delete=75000 --ignore-errors source dest
> 
> During download files are being created at
> path/.filename.random-string instead of path/.~tmp~/filename. How can
> this be? Version is 3.0.6 on linux.

That's a temporary file, which goes in the --temp-dir.  Rsync will move
the file to the --partial-dir if the transfer is interrupted.

-- 
Matt



More information about the rsync mailing list