Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vanishing Disk Space



A better command (IMHO):
du . | sort -n | tee sizes.out


It will display on the screen, and to a file called sizes.out a list of every directory from the current directory on sorted by size. I use this to figure out what home directories are eating up space =)



On Jun 5, 2006, at 7:42 AM, Matt Rosenberg wrote:

On Jun 3, 2006, at 5:17 PM, John wrote:

On Jun 1, 2006, at 4:11 PM, Matt Rosenberg wrote:

sudo du -h -d1

So how does one output this to a text file?

That command is only going to show you 1 level deep (the '-d1' part). Running it only once won't give you all the info you need to make a determination. Dumping it to a text file won't really tell you anything.


If you change the depth to 3 or 4, that might be worth dumping to a file. You'll have a pretty long list of stuff to wade through.

Matt


====================================================================== =============
CONFIDENTIALITY NOTICE: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this email in error, please notify the sender immediately and delete the original message. Neither the sender nor the company for which he or she works accepts any liability for any damage caused by any virus transmitted by this email.
====================================================================== =============
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/bradyc% 40uidaho.edu


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Vanishing Disk Space (From: Roger Corbin <email@hidden>)
 >Re: Vanishing Disk Space (From: Matt Rosenberg <email@hidden>)
 >Re: Vanishing Disk Space (From: John <email@hidden>)
 >Re: Vanishing Disk Space (From: Matt Rosenberg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.