LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices

Reply
 
Search this Thread
Old 12-15-2012, 06:20 PM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 75,809

Rep: Reputation: 87
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.

Read More...
 
  


Reply


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 02:37 PM
squirrel Could not move/copy file. File not attached mrlinux2000 Linux - Software 4 05-24-2010 04:41 AM
[SOLVED] Converting a HTML file to a PNG file through Python script TheIndependentAquarius Programming 12 02-02-2010 11:10 AM
Sending mail from shell with attached file loopoo Linux - Newbie 1 11-17-2005 04:23 PM
Sending mail from shell with attached file loopoo Linux - General 3 11-17-2005 11:57 AM


All times are GMT -5. The time now is 08:52 PM.

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