On 06/08/2011 03:35 AM, Per Jessen wrote:
Gary Hodder wrote:
On Wed, 2011-06-08 at 08:49 +0200, Per Jessen wrote:
Gary Hodder wrote:
Hi all,
can somebody help me with a script using mp3info that will only print out number of files in a directory and number of files with a bit rate of less than 192k. I look after a community radio station and a presenter is modifying the station music collection, I need to catch this guy in the act. I want to run this script from cron before and after his show and send it to a smb printer in the office. Hi Gary,
would it suffice to look at the most recently changed files? That could be easily done with find, and you could have the results emailed.
/Per Hi Per,
He is also changing the name, date and time stamp to the same as the original.
Okay - how about using md5sum to create checksums then? Those are easily done too, and the check is also simply done by running md5sum again.
Here's something crude: Back up everything to another (r/o) drive. Then via cron, replace all the material on the active drive on a daily basis--maybe at 4AM or so--and it won't matter what your "presenter" does--it will be gone the next day. Brute force, but pretty foolproof, I would think. --doug Blessed are the peacekeepers...for they shall be shot at from both sides. --A. M. Greeley -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org