Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my computer i have got 30GB of junk files. I looked for it everywhere. In both Librarires and other folders. So, is there some method to identify those files and delete them? Some kind of script or app.

share|improve this question
How do you know it's junk? – lhf Jul 22 '13 at 16:29
The script is easy (and very dangerous)- for file in `cat /path/to/junk.txt`; do rm $file; done but it should probably test that you have a good backup that you can restore if it deletes files that are needed rarely (like at boot time) and not really junk. – bmike Jul 23 '13 at 12:13

There are a number of apps which will show you how your disk space is being used. My preference is OmniDiskSweeper which is free. Launch it and have it search your $HOME folder (⌘ + Shift + H) and it will sort the directories according to disk usage.

share|improve this answer

You can also enable calculating all sizes from the view options in Finder:

You can show hidden files by running defaults write AppleShowAllFiles -bool true; killall Finder.

Part of the disk space could be taken up by /var/vm/sleepimage if you have a laptop, or by /Volumes/MobileBackups if you use Time Machine.

Related questions:

share|improve this answer

CleanMyMac 2 works for me too. Amazingly simple. Highly recommended.

share|improve this answer
This app has already been mentioned. – grgarside Sep 7 '14 at 12:36

Try "CleanMyMac 2" its quite good app , removes lot of junk files and improves the performance considerably.

share|improve this answer
Could you add some details? Link to the app, what it does, etc. – Loïc Wolff Jul 23 '13 at 13:45
By what measure is performance improved? I've found most apps like this take the user 30 minutes to find and install and usually they end up costing time down the road when deleted files are needed later (or cause errors in update packages when files with receipts showing them installed are now gone). I can't say this CleanMyMac 2 app is snake oil, but some details might let others know its not. As a category, the value of a "magic tool" is often over-hyped and the downsides of them get downplayed by vendors and their advocates. – bmike Jul 23 '13 at 14:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.