In the spirit of open source, I've decided to share a little project that I've been working on with everyone. I was wanting some sort of software that would report on who had mp3's, wma's, movies and such on the network share and send me an email report. Everything that I found didn't work well or was too expensive. So here's what I did: I created a cron job that looked like this:
"locate *.mp3>/Sharedfolder/Reports/Music/report.txt | locate *.wma > /Sharedfolder/Reports/Music/report.txt"
These lines create a small text file with a line by line report of all mp3's and wma's on the drive. This cron job is ran locally on the file server. Then on my machine (Windows unfortunately) I run this batch file every night in the Scheduled Tasks:
"start /w sendemail.exe -u N:\Reports\Music\report.txt -f
yourfromemailaddress@domainname.com -s serveripaddress:serverportaddress -t
yourdestinationemailaddress@domainname.com -u Unauthorized Music Files -m Unauthrorized Music Report -a N:\Reports\Music\report.txt"
The sendemail.exe program is a command line email program that can be found here:
http://caspian.dotconf.net/menu/Soft...Email-v152.zip
That's pretty much it. Every night, the report gets created and every night the sendemail program sends it to me via attachment. Because I am running Thunderbird configured a certain way, (I don't know off the top of my head), the attachment is automatically previewed for me. Anyways, this is a nice, simple solution for those of you out there needing a reporting software idea. If you have anything to add, please feel free to do so. I'm always open to new ideas and ways around a problem. Now the only issue I've ran into is I can't seem to do more then 2 items at a time (mp3's and wma's for example) I'd like for it to report mp3's, wma's, m4a's, etc. but that seems to get all screwy when I try for more then 2 items at a time. Anyways, enjoy!
Travis