On 01/12/2018 06:03 PM, Bernhard Voelker wrote:
On 01/12/2018 06:43 PM, jdd@dodin.org wrote:
Le 12/01/2018 à 17:36, Bernhard Voelker a écrit :
In other words, will the option --delete works?
NO, --delete is operating on the DESTINATION. As far as I understood you would like to remove all the archived files from the SOURCE, right?
wrong. If I happen to remove a file from the source, I want this to be also done on the copy
If I first copy the file list in a file and give it as argument for --files-from, will --delete works? else I need an other line to first remove the extra files
sorry, I'm lost. The --delete option clearly operates on the destination:
If you use the option '--delete' *and* the file has been removed from the server it will be removed from the destination. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org