[SunHELP] Newbie Questions

Marc Belanger sunhelp at sunhelp.org
Tue Jan 30 23:23:22 CST 2001


"Kalusniak, Jeff" wrote:
> 
> 1) Did you look at the man page?
> find / -mount -size +5000000c

This doesnt seem to work on my box. Solaris 2.6, it still goes through the directories.

Try this quick script. It outputs in ls -l format. Make sure you 'chmod 700 srch.sh'
before you run it.

#!bin/sh
# srch.sh
# Usage:  ./srch.sh <dir>
ls -l $1 > ~/.tmpfile
awk '$5 >= 5000000 {print}' ~/.tmpfile
rm ~/.tmpfile
exit 0

Oh, by the way, the Sunhelp archives are at:
http://www.sunhelp.org/pipermail/sunhelp/

-Marc




More information about the SunHELP mailing list