How do I find how much disk space a program is occupying? [duplicate]

How do I find out how much disk space a program such as Skype occupies?

My SSD is getting full, and I want to see what can be deleted.


Solution 1:

If you want to find out how much space an Application and it's associated files are taking up (not just the .app bundle), AppCleaner works great for that. As you can see in this screenshot for Chrome, it shows the application itself, as well as preferences, caches, etc. all nicely totaled up.

enter image description here

Solution 2:

Daisy Disk

It's a killer app for analyzing disk use on a Mac. It'll scan all your drives and shows you disk use broken down by customizable buckets: file types, programs, tags, etc. It can show you all the disk space used by a program like Skype if you like and more.

Showing Skype Use on my Machine

Edit: it's also on sale right now for $10.

Solution 3:

Disk Inventory maps out your disk usage graphically. Easiest way.

enter image description here

Solution 4:

Grand Perspective is an open-source application that is free. Similarly to Disk Inventory, it uses a tree map for visualization of the file system. The bigger a block, the bigger the file.

Solution 5:

Alternatively, if you want to use the command line and (looking at the 2nd part of your question) you're just interested in which files are taking up the most space, I often use the find command.

find ~ -size +50M

will find all files within your home directory (~) greater than 50MB.

You can modify the size descriptor after the number like so (see man find)

k       kilobytes (1024 bytes)
M       megabytes (1024 kilobytes)
G       gigabytes (1024 megabytes)
T       terabytes (1024 gigabytes)
P       petabytes (1024 terabytes)