Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Forums
Blogs
Articles
Groups
Galleries
Member List
Calendar
Home
Forum
Simply Business
Fucking Around & Business Discussion
unix question
unix question
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
alex79
Confirmed User
Join Date:
Jun 2002
Posts:
996
Share
Post
#1
unix question
02-11-2006, 11:11 AM
how do i list only files/folders bigger than 10MB?
HorseShit
Too lazy to set a custom title
Join Date:
Dec 2004
Posts:
17513
Share
Post
#2
02-11-2006, 11:20 AM
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
Comment
Post
Cancel
pussyserver - BANNED FOR LIFE
So Fucking Banned
Join Date:
Oct 2005
Posts:
5133
Share
Post
#3
02-11-2006, 11:20 AM
ls -ual
that is ya answer
Comment
Post
Cancel
alex79
Confirmed User
Join Date:
Jun 2002
Posts:
996
Share
Post
#4
02-11-2006, 11:39 AM
Originally posted by
pussyserver
ls -ual
that is ya answer
is not working
Comment
Post
Cancel
Superterrorizer
Confirmed User
Join Date:
Sep 2003
Posts:
509
Share
Post
#5
02-11-2006, 11:41 AM
Originally posted by
alex79
how do i list only files/folders bigger than 10MB?
man find
Comment
Post
Cancel
the alchemist
Confirmed User
Join Date:
Dec 2004
Posts:
3271
Share
Post
#6
02-11-2006, 11:50 AM
hmmm i'd do:
du -s -k * | sort -n
hope that helps.
264 349 400
Comment
Post
Cancel
mayon
Confirmed User
Join Date:
Jul 2005
Posts:
196
Share
Post
#7
02-11-2006, 06:46 PM
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!
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕
Comment