Date: 02 Dec 2001 13:32:53 -0800 From: swear@blarg.net (Gary W. Swearingen) To: "Anthony Atkielski" <anthony@atkielski.com> Cc: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: How do I find major consumers of disk space on the system? Message-ID: <w5k7w5pat6.7w5@localhost.localdomain> In-Reply-To: <008301c17af1$910f4a90$0a00000a@atkielski.com> References: <008301c17af1$910f4a90$0a00000a@atkielski.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I use a script something like this to find big files to delete. ## Good arguments: "/dir", "/mount-point -xdev" find $@ -size +2000 -ls | sort -rn +6 ## size in 512 blocks #NOTE: "-ls" is MUCH faster than "-exec ls -ld {} \;" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?w5k7w5pat6.7w5>