Computing.Net > Forums > Linux > script to scan for file sz > 1G

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

script to scan for file sz > 1G

Reply to Message Icon

Name: cekcool
Date: August 2, 2004 at 23:43:57 Pacific
OS: RedHat Adv Server 2.1
CPU/Ram: 2.0G/512M
Comment:

Hi,

I need a script which can scan for all the files on the Linux, listing all files which having size > 1 G.

Can anyone pls advise me on this? I had tried to use the command locate and du, but could not get the result.

Regards,



Sponsored Link
Ads by Google

Response Number 1
Name: Wolfbone
Date: August 3, 2004 at 02:56:01 Pacific
Reply:

find / -size +$((1024*1024))k

or whatever other definition of 'G' you prefer.


0
Reply to Message Icon

Related Posts

See More


RHAS 2.1 change machine n... want to insert string in ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: script to scan for file sz > 1G

Shell script to delete old files www.computing.net/answers/linux/shell-script-to-delete-old-files/30403.html

Shell Script to rename files www.computing.net/answers/linux/shell-script-to-rename-files/28394.html

help writing script to read files n www.computing.net/answers/linux/help-writing-script-to-read-files-n/27648.html