Bug 8682 - Skip current transfer keyboard function
Skip current transfer keyboard function
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
All All
: P5 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2011-12-30 01:02 UTC by b1566587
Modified: 2015-12-18 22:06 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description b1566587 2011-12-30 01:02:00 UTC
rsync should stop transferring the active file upon press of a specific key.

There is already extensive file exclusion functionality, but the ability to skip the current file (the one visible when using --progress) would be really quite handy to have.
Comment 1 martin f. krafft 2015-09-18 09:20:03 UTC
A hack is to save the file on the backedu up host, and overwrite the inode, e.g. "echo > file". This will then cause BackupPC to move on and log an error.

But indeed, having the information about

  - which file is being processed
  - some metadata, e.g. size
  - when processing started

available in the web interface would be great. Ideally, this would then be augmented with the ability to cancel/skip this file and optionally to add the file or the containing directory to the global or host exclude list.
Comment 2 martin f. krafft 2015-09-18 09:20:33 UTC
(the hack is courtesy of Ronny Aasen)
Comment 3 roland 2015-09-19 10:42:58 UTC
that would be a quite useful feature.

i`d recommend that this feature should be activated with a commandline option for safety purpose. and skipping should then be repeated while the key is pressed down, so one could skip multiple files at once or an entire directory structure (e.g. when accidentally syncing /proc etc)