![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Check file size and remove files | srivsn | Shell Programming and Scripting | 5 | 05-28-2009 02:09 PM |
| unix script to check whether particular file exists and to find its size | Balachandar | Shell Programming and Scripting | 9 | 02-05-2008 03:56 AM |
| Check backup file size on backup tape | ayhanne | UNIX for Dummies Questions & Answers | 0 | 10-25-2007 12:41 PM |
| Perl FTP - check file size | rahulrathod | Shell Programming and Scripting | 1 | 02-20-2007 10:21 AM |
| file size check | malaymaru | Shell Programming and Scripting | 2 | 10-19-2005 01:26 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
Quote:
Code:
ls -l * or ... Code:
while read afile
do
ls -l $afile
done < listfile
|
|
||||
|
Here is a script I have done to compile everyday statistics about files on the system. Let's say here, all files bigger than 500Mg. Code:
REP=/home/user
LOG=filecheck.log
DATE=`date`
date >> $REP/$LOG
find . -size +1000000 -exec ls -l {} \; >>$REP/$LOG
Add it to your crontab and you can have a look everyday to the log file or send the output by mail to yourself. Hope it helps! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|