Bug 10350 - rsync does not remove temporary files if interrupted (e.g. ctrl-C)
Summary: rsync does not remove temporary files if interrupted (e.g. ctrl-C)
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.0
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2013-12-30 03:42 UTC by Joe Peterson
Modified: 2014-01-19 22:35 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Joe Peterson 2013-12-30 03:42:53 UTC
Before 3.1.0, rsync removed any created temp files if interrupted by, e.g., ctrl-C.  It does not in 3.1.0.  Instead, the temp file is left in the destination directory.  It remains even if another rsync is initiated (and if the new rsync is interrupted, another temp file is left).

I could not find an applicable bug when searching, so please excuse this report if one already exists or if this has been fixed.  Note I set OS to Linux/x86-64, since that is the only platform I tested.
Comment 1 Wayne Davison 2014-01-19 22:35:57 UTC
Thanks for noticing -- I use --partial w/--partial-dir so much that I didn't notice that I broke this recently.  It's fixed in git.