Published in: Bash
This command will list every file under /my/directory larger than 250kB and sort it largest to smallest.
find /my/directory -size +250k -ls | sort -nr -k 7
You need to login to post a comment.
bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.
SunnyJim on 11/04/06
11 people have marked this snippet as a favorite
px
fugue
nremtbgr
happolati
vali29
copyleft
therobot
gAmUssA
alexxx
Leech
dertimbo
Published in: Bash
This command will list every file under /my/directory larger than 250kB and sort it largest to smallest.
find /my/directory -size +250k -ls | sort -nr -k 7
You need to login to post a comment.