I'm moving files with rsync and would like to be able to pick in destination folder to see what was transferred and what was not.
Here is a command I'm using:
rsync -azh --info=progress2 [email protected]:/home/backups/ /home/backups/
Problem is that rsync
seems to be creating directories and transferring files quite randomly. So when I look into /home/backups/
, I see many directories but most of them are empty.
Is it possible to instruct rsync
to move down the directory tree and then come back up only when the branch is fully copied? I want it to do a depth-first search traversal.
--no-inc-recursive
. Is there an actual issue with what you are seeing?