xargs / FS-maintenance question
Terry Tanski
ttanski-iRg7kjdsKiH3fQ9qLvQP4Q at public.gmane.org
Fri Oct 1 17:55:52 UTC 2004
On Fri, 1 Oct 2004, Scott Elcomb wrote:
> > I'd like to locate files that are hogging a bunch of space on one of my
> > systems. Based on some previous posts here, I'm thinking that I could
> > probably use find and xargs to handle the task quickly.
> >
> > Any pointers for working with xargs would be most appreciated - I'm
> > finding the man page a little confusing.
Try:
find / -size +5000k -ls
where the +5000k will find files which exceed 5MB (5000KB) in size. The
-ls will show you a long listing with the specific size for each found.
Terry
--
Terry Tanski, B.Sc. Phone: (416) 863-2126
Canada NewsWire Ltd. Fax: (416) 863-4825
20 Bay Street, Suite 1500 Email: ttanski-BEj8/MhvOJIsA/PxXw9srA at public.gmane.org
Toronto, ON M5J 2N8 Web: http://www.newswire.ca
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list