I've been migrating an old MacBook Air (2012) to a new MacBook Pro, and am doing a clean at the same time.
I've been running
df -h. to give me an idea of free space:
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk1s1 233Gi 207Gi 24Gi 90% 1717781 9223372036853058026 0% /
To track down where the usage is, I've run
bash-3.2$ sudo du -sh * | sort -h 0B Network 0B User Information 0B Volumes 0B cores 0B etc 0B tmp 0B var 1.0K home 1.0K net 4.0K installer.failurerequests 4.5K dev 1.2M sbin 2.6M bin 958M usr 6.7G Library 6.8G private 8.0G opt 8.9G System 26G Applications 58G Users
Unless I'm bad at maths (please feel free to correct me), these are some way from adding up. (
du indicates I've got about 120GB in use,
df indicates about 207GB).
Any idea why the discrepancy? Any idea how to track the usage down?
I should note, I've been cleaning up on the command-line with
rm -rf (as I deleted several accounts)