>
> I think I must be missing something. If source and dest are the same
> place rsync shouldn't do anything unless it it responding to changes
> happening at the same time. For example, when I do 'rsync -vain
> --remove-source-files /tmp/ /tmp/' rsync does nothing.
>
Thanks for the response.
>> why not avoid using "--remove-source-files" and delete files
manually/via extra step afterwards
Multiple reasons. Among them:
1) my jobs run a long time and there are a lot of them. Trying to remember
what I did over ssh (where history doesn't get saved) is an extra cognitive
load and the
90% of my data losses are caused by rsync'ing from dir A to dir A
(accidental incorrect copy and paste, or where dir B is a symlink to dir
A). The source gets erased unintentionally.
It may seem dumb but when you get really long commands and really long file
paths it will happen a 1-2 times a
> Upgrade to 3.2.6 (or 3.2.7pre1):
https://download.samba.org/pub/rsync/NEWS#3.2.6
Thank you very much Wayne. And thank you personally to whoever made the
code modifications (I wish I could find the pull request!). I can't explain
how important this is to me. The new binary file is worth its