astraler2k
08-10-2002, 12:40 PM
Hi,
How can i find any filesize limits files on my server?
Sample:
How can i find 1MB file size files on my server?
Thanks
Jedito
08-10-2002, 01:14 PM
Try with
du -h / | grep 1.0M
That shall show you all the files using exactly 1 MB
bitserve
08-10-2002, 01:44 PM
You can use find too, with the -size option.
find / -size 1024k -print
I doubt there are that many files using exactly 1MB though, do you really want all files over 1MB?
find / -size +1024k -print
astraler2k
08-11-2002, 05:19 AM
Ok,
I want find files large from any file size.How this?
Sample:
I want find files large from 3MB.How this?
Thanks
bitserve
08-11-2002, 12:14 PM
find / -type f -size +3072k -print
I forgot the "-type f" in my last post, which you'll want if you're just searching for files and not directories or pipes.
You might try:
man find