Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.
Thanks!

share|improve this question
4  
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

3 Answers 3

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 com.apple.finder 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

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

share|improve this answer
1  
Could you add some details? Link to the app, what it does, etc. –  Loïc Wolff Jul 23 '13 at 13:45
1  
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

 
discard

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.