I have looked this topic up and found two answers:
How can I sync two local directories?
How to sync two folders with command line tools?
The interesting thing is, the two commands for rsync, one with and another without the -u
option made a big difference:
rsync -av --progress --delete "/folder/" "/somewhere/folder"
vs
rsync -avu --progress --delete "/folder/" "/somewhere/folder"
The one with the -u
option only copied the files names, the actual size is 0B.
Why is that happening? Shouldn't it also copy the actual bits too?~~
New question that is more specific: How does the rsync -u option help syncing two folders?
-i
added? Is there a difference in the output with and without-u
? (Can add it to the question). – BowlOfRed Mar 09 '22 at 17:02