Find largest files on your hard drive (Windows & Linux)
Are you running low on disk space or just curious to know what files are eating up your hard drive space? Finding out the biggest files in your hard drive is simple. This article will show you how to do this on Windows XP and Linux/Unix.
- Go to Start / Search / For Files or Folders
- Select the search option All Files and Folders
- Enter *.* in the file name search box
- Select the hard drive(s) you would like to search
- (Optional) Select the What size is it? option and choose Large
- Click the Search button
- Click the Size column to sort the results
Running the command below on a Linux/Unix machine (or Cygwin) will return the top 10 largest files recursively from the current path
find . -printf '%s %pn'|sort -nr|head
Nice simple method.But there are a few files which will not show up in the explorer view and you have to use a software called WIndirStat.My 20 Gb was missing from my hard disk and had a tough time which folder was using this.Found the answer here:http://sunil-bhaskar.blogspot.com/2010/08/windows-7-eating-disk-spacefinally-real.html
Embarrassed i didn’t think of it
Great way to quickly find out what is eating up all the space.
simple and spot on, thanks so much
For unix, you can also use below command – It will give you the output of 30 largest utilizing files :-
du -h | sort -rn | head -30
Accordingly you can decide, which files to be retained or housekeeped.
PS – The command needs to be fired from within the directory.