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
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.
Summary: Hi I am looking for a shell script to delete old files whenever storage limit is crossed for a folder. That would be great if anyone point me in the right direction in finding a simple way to do this?...
Summary: As I understand it, you’re only concerned with the 3 numbers and not the unknown number of words before or after the numbers and skip any file that is already named correctly. So we only need to loo...
Summary: I would probably use perl myself (but thats just because I like it!), something along the lines of: perl -e 'foreach $user(`ls /home`){`ls -1 /home/$user/mail > /home/$user/.mailboxlist`}' I don't th...