How to check if I copied all the files/folders into the destination?

mrjayviper

Reputable
Mar 13, 2017
19
0
4,510
so I cloned a folder into another disk (freshly formatted as ext4) and it completed successfully.

Code:
rsync -aiv --delete source-folder destination-folder

My issue is that if I ran the command above but with "dry-run" as an additional parameter, I expect that no files/folders will show up. But all the files and folders shows up again.

These are the commands I've tried to check if there more files/folders that needs to be copied

Code:
rsync -ainv --delete source-folder destination-folder
rsync -Drn --delete source-folder destination-folder
rsync -rn --delete source-folder destination-folder
The source-folder doesn't contain links. It only contained photos organized in folders.

Any ideas what I could be doing wrong? I just want to check that all the files/folders were copied.

I'm running rsync 3.1.1 and Ubuntu 16.04.

Thanks!

ps. this is not a desktop machine as such there's no "X"