are new directories created inside the partial dir?

Carlos Carvalho carlos at fisica.ufpr.br
Mon Jul 13 17:08:35 MDT 2009


When --partial-dir is used rsync creates new or updated files inside a
temporary dir. For example the new version of some/path/file is
created in some/path/<partial-dir-name>/file and later moved.

What happens if a new directory is created? If
some/path/newdir/newfile is to be copied, is it done in
some/path/<partial-dir-name>/newdir/<partial-dir-name>/newfile? Or is
newdir created immediately and the temporary put in
some/path/newdir/<partial-dir-name>/newfile?

What happens if a directory already exists but its timestamp and/or
permissions changed? I suppose partial-dir isn't used in this case, or
is it?


More information about the rsync mailing list