On Aug 4, 2015 1:26 AM, "Some Body" <somebody.mo...@gmail.com> wrote: > > Le mardi 04 août 2015 à 16:11 +0800, Magicloud Magiclouds a écrit : > > > > Now, I see in both locations, there are the file. My question is, is > > it safe to remove file in dest, and move to it again from src? >
> > If you don't want to take a risk, couldn't you copy the files in dest in > another folder, or in a .tar archive, in order to have a backup if you > need one ? > Yeah, unless you're moving on the same fs (because changing inode info is faster than data copy and delete) don't use mv. It's not atomic - rsync at least tries to be atomic with a temp file that gets moved into place but mv isn't that smart (what you want on the same fs).