Bug 8076 - Rsync --remove-source-files Rule Filters Enhancement
Summary: Rsync --remove-source-files Rule Filters Enhancement
Status: NEW
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.0
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2011-04-11 22:53 UTC by thelok
Modified: 2011-04-11 22:53 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description thelok 2011-04-11 22:53:08 UTC
A suggested enhancement is to allow sender-side protection rule filters to prevent/allow deletion of files. Currently there are receiver side protection rules but none for senders.

Suppose a user wants transfer file A and file B using rsync. After the transfer file B on the sender side is desired to be deleted by using the --remove-source-files option. However currently there doesn't seem to be a way to protect file A from being deleted if both file A and B are included in the same rsync call.

The user could separate the single rsync call into two rsync calls, one with and one without the --remove-source-files option.

If this sender-side functionality already exists then please disregard.