Bug 6543 - when crashing, announce the last file that was correctly copied
Summary: when crashing, announce the last file that was correctly copied
Status: ASSIGNED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.6
Hardware: Other Linux
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
: 6545 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-08 10:47 UTC by Dave Yost
Modified: 2009-12-13 00:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Yost 2009-07-08 10:47:05 UTC
If rsync for some reason doesn't complete, it should output the path of the last file that was correctly transferred.

This will help with workarounds and perhaps also with bug reports.
Comment 1 Dave Yost 2009-07-09 11:30:08 UTC
*** Bug 6545 has been marked as a duplicate of this bug. ***
Comment 2 roland 2009-08-07 04:02:12 UTC
isn`t using "-v" sufficient here ? or using the logging features? if that`s too much output, you could combine that with "tail -n ###".

there are several options for NOT completing: maybe it unexpectedly hangs, maybe it crashes. 

so, how should rsync print only the "last" correctly transferred file, if it doesn`t know that it hangs or that it crashed ?
Comment 3 Dave Yost 2009-08-07 12:00:26 UTC
I mean that when it crashes and gives a source filename and line number, it should also report the last successful file transfer. With or without -v.
Comment 4 Dave Yost 2009-08-07 12:01:28 UTC
I mean that when it prints a crash message giving file name and line number, it should also give this information, with or without -v.