Friday 10 March 2017

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.

Windows XP
  1. Go to Start / Search / For Files or Folders
  2. Select the search option All Files and Folders
  3. Enter *.* in the file name search box
  4. Select the hard drive(s) you would like to search
  5. (Optional) Select the What size is it? option and choose Large
  6. Click the Search button
  7. Click the Size column to sort the results
Linux/Unix
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

No comments: