//
you're reading...
Uncategorized

What is eating your disk? -> % du | sort -n

My sweet sister (happy b-day!) read my blog and suggested the following entry. How do to tell what is eating up a hard disk drive on a Mac. Well here is my solution that uses a simple “unix-style” command in the “Terminal” utility window. One way to get to the Terminal window is to search for it by going to the “spotlight” found at upper right corner of desktop. Once your Terminal window is up and running simply type in “du | sort -n “. Translation: du lists all files with the size of file in each line. We | “say pipe” that output to the sort command. The end of the final output will be the largest files and directories in your system. Now delete those directories you no longer need.

Advertisements

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: