Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 12-15-2012, 05:20 PM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 95,086

Rep: Reputation: 91
LXer: Python script to monitor a file for changes and then mail the report with the file attached.

Published at LXer:

This is a script which checks a file's md5 hash, compares it to a previous (or given) hash and mails a report with the option of attaching the file with the email. I wrote it because I use AIDE on some systems, and I let it auto update the database. This script runs via cron before and after the AIDE run, so I have an archive of databases. But it can be used for all kind of files, not just for the AIDE database.



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
[SOLVED] How to: tkinter-python to monitor a file, add buttons automatically, and exit cleanly donnied Programming 0 10-13-2012 01:37 PM
squirrel Could not move/copy file. File not attached mrlinux2000 Linux - Software 4 05-24-2010 03:41 AM
[SOLVED] Converting a HTML file to a PNG file through Python script TheIndependentAquarius Programming 12 02-02-2010 10:10 AM
Sending mail from shell with attached file loopoo Linux - Newbie 1 11-17-2005 03:23 PM
Sending mail from shell with attached file loopoo Linux - General 3 11-17-2005 10:57 AM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 05:50 PM.

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