Bug 6950 - --delay-updates should delay directory creations
Summary: --delay-updates should delay directory creations
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.6
Hardware: x86 Linux
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 03:17 UTC by Paco Avila
Modified: 2009-12-06 21:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paco Avila 2009-12-02 03:17:29 UTC
I use the "--delay-updates" option to make "atomic" updates in a remote host. This way the big files (mp4 videos) are hidden until the whole changes have been transmitted. This works fine, but these big files are located in several folders and this folders are created in the remote host at the beginin of the rsync start and are shown as empty because the files are not visible until the transfer is completed. I think that these folder should also be hidden until the whole transfer is completed.
Comment 1 Matt McCutchen 2009-12-04 16:31:00 UTC
This is not a bug, but maybe it should be an enhancement request.  --delay-updates works at the level of individual non-directory files; directory creation is not delayed.  In fact, the apparently empty directories contain the staged files in a hidden subdirectory named ".~tmp~".

Also look into the "atomic-rsync" script distributed with rsync for a more comprehensive atomic-update solution.
Comment 2 Paco Avila 2009-12-06 14:46:02 UTC
Changed severity to "enhancement" as proposed by Matt McCutchen in comment #1.

This feature can improve the atomic updates of this great utility.