1

What's up guys, I'm trying to backup some Ubuntu files to my Windows machine. I have all the files in one folder and when I click "Properties" in Ubuntu it says 696 items, 742.6 MB. When I copied that SAME folder over to Windows it shows as 687 Files, 88 Folders and 708 MB. What's the difference here? I'm assuming one is counting folders and files differently, but the numbers still don't add up. Is there anyway to account for this difference?

1 Answers1

0

The trick is . . . hidden dot files( the ones that have leading dot in the name, e.g. .file1.txt ). They are included in the total count of files and folder size , but are not shown by default. Observe the example bellow: I've a folder /home/xieerqi/EXAMPLE where I copied contents of my /etc/passwd file. In the properties you can see total count of two, but without .test1 being shown , you will only see test2.

enter image description here

What you want to do is open file manager's View menu and ensure Show Hidden Files is checked, or press Ctrl+H to have the same effect. Alternatively , if you are not shy of using command line, you can use rsync -a SOURCE_DIR DESTINATION_DIR

 rsync -a /home/user/Pictures /media/user/usb_drive