I’ll try to be specific with the following Terminal command. Log in as your current administrative user, and perform the following command:
sudo du -sm /Users/*
It will ask you for a password for this command; give it your administrative user’s password. It will not appear as you type it in — this is a security measure.
The output will be given in MB used by each of the users in their home folder hierarchies. If you prefer amounts displayed in GB to MB (note that it will only display integers), use -sg rather than -sm in the command. It will round up, so e.g. 9 MB will be displayed as 1 GB if the -sg option is used.
Excuse me if I have misunderstood, but this seems like an alternate way to VIEW the space used on the hard drives according to User rather than recover that used space. What I want to do is recover the drive space l have lost. If you have a music library with 50 gig and then delete it and empty the trash, you SHOULD get the 50GIG back. It seems that when I deleted the user, migrated and it created a new user again (same name), it retained the space used by the music library, itunes etc.. even though I don't have any music, photos or video at this moment.
Have I missed something?
yes, the du command is used to show how much disk space is being used. My intention it to confirm whether or not that user’s disk space has actually been deleted. If for whatever reason it hasn’t actually been deleted, then that would explain why it hasn’t shown up as available in your Storage window. On the other hand, if du shows it as having been deleted but the Storage window doesn’t, then the reason for the discrepancy needs to be determined in some other way.
Hi Melophage, Thanks for your help but your command is giving me warnings about deleting files and I'm not confident enought to move forward with it. I really appreciate your help and I'm sure it may be a simple task but I can't take a chance.
BobRz, Yes I deleted all those folders and files when I migrated again but never got the drive space back and can't find where they are hiding.
I had a recommendation to download and use Daisy Disk from the APP Store. This should find WHERE those files are hiding? Anyone have experinece with that? Or can anyone tell me where these files could be.
Again, we are talking about music, video, apps that were deleted taking up hard drive space AFTER emptying the trash. I'm missing about 100GIG. It shows exactly what is taking up the space just not where it is.
Its a new laptop and I want this one clean and only for business.
Ok, I manned up Melophage after re-reading my own post and used your command.
Here is the result: (Bottom user is my name, I put dashes for privacy)
9 /Users/Guest 351 /Users/Shared 153579 /Users/ -------
When I migrated the second time, it was from the same computer, doing the exact same thing and it created a new user the exact same way. Then I made that user: "markedwards" the admin, and deleted the admin account. This still doesn't seem to explain WHERE these files are.
so it showed that you’d had 153.58 GB being used in your user’s home folder. Your first image showed that you have a disk with 499.42 GB, less 355.43 GB free, which left 143.99 GB being used. Thus, those files must still be somewhere underneath your home folder, perhaps restored after your migration, as BobRz suggested.
Try a variation on the first du command to see where they’re located under your home folder:
sudo du -sm /Users/username/* /Users/username/.[A-Za-z]*
(Substitute the relevant username for username above.) If the bulk of the files are underneath one of the folders with a name that begins with a period, then that would explain why they’re difficult to find — names that begin with a period are hidden by default. (This behavior is a UNIX holdover.)
Melophange, Here is the verdict...
14390 /Users/username/ALL - Files 19 /Users/username/Applications 116430 /Users/username/Clients 1149 /Users/username/Desktop 139 /Users/username/Documents 5 /Users/username/Downloads 21450 /Users/username/Library 0 /Users/username/Movies 1 /Users/username/Music 0 /Users/username/Pictures 0 /Users/username/Public 0 /Users/username/Sites 1 /Users/username/.DS_Store 0 /Users/username/.Trash 1 /Users/username/.bash_history 1 /Users/username/.cups 1 /Users/username/.dropbox 1 /Users/username/.dropbox-master 1 /Users/username/.filezilla