Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-11-2006, 01:11 PM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
unix question

how do i list only files/folders bigger than 10MB?
__________________
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-11-2006, 01:20 PM   #2
HorseShit
Too lazy to set a custom title
 
Join Date: Dec 2004
Posts: 17,513
you would have to pipe wc through ls but there is really no point

ls -alS

will put the largest ones first which would probably do the trick
HorseShit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-11-2006, 01:20 PM   #3
pussyserver - BANNED FOR LIFE
So Fucking Banned
 
Join Date: Oct 2005
Location: I convert perverts like catholic church!
Posts: 5,133
ls -ual

that is ya answer
pussyserver - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-11-2006, 01:39 PM   #4
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
Quote:
Originally Posted by pussyserver
ls -ual

that is ya answer

is not working
__________________
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-11-2006, 01:41 PM   #5
Superterrorizer
Confirmed User
 
Join Date: Sep 2003
Posts: 509
Quote:
Originally Posted by alex79
how do i list only files/folders bigger than 10MB?
man find
Superterrorizer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-11-2006, 01:50 PM   #6
the alchemist
Confirmed User
 
the alchemist's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Montreal, Canada
Posts: 3,271
hmmm i'd do:

du -s -k * | sort -n

hope that helps.
__________________
264 349 400
the alchemist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-11-2006, 08:46 PM   #7
mayon
Confirmed User
 
Join Date: Jul 2005
Posts: 196
find / -size =2192k -printf "Size: %kK\tPath: %p\n"
that will look for 2.2MB file

find / -size =10240k -printf "Size: %kK\tPath: %p\n"
that will look for 10MB file

* that will also show you the location of such file(s).

pretty cool? now check my sig,
__________________

icq 250976254 | featuring High Def sites that convert!
mayon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.