I have a folder(which contains a lot of sub-folders and files) on a machine, I used
and it shows the disk usage of all sub-folders and files, anyway, the overall disk usage is 78M
scp -r to copy the folder into another machine,
du -m get the overall disk usage: 12M,
Why does this happen?
I'm afraid some of the files or sub-folders are not copied fully, so are there any other ways to check the total number of bytes?