Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-05-2001, 08:52 AM   #1
Registered: Feb 2001
Posts: 54

Rep: Reputation: 15
Need script to check file size.

I need a script that checks the size of a file and if it has changed from the last check it will notify the admin by email. I'm not sure exactly what commands to use for this but if someone can give me some clues I think I can piece something together.
Old 08-06-2001, 08:30 AM   #2
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
Look into the Tripwire program. It runs md5checksums against files you name in the configuration file and will report any changes made since the last check.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to delete files with 0k file size in a directory justgiver Linux - Newbie 4 01-28-2008 04:56 AM
File Size Shell Script BlackLabel Programming 7 11-27-2007 07:48 PM
check file permissions in a script cambie Linux - General 9 09-22-2004 12:13 AM
Script to check for contents in a file darin3200 Programming 7 04-25-2004 05:26 PM
Help with file size script jpc82 Programming 10 04-01-2004 04:55 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration