Alan, I'm not a script guru, but I copied and pasted parts, I use that might get you there.
find /audio file dir/* -mmin -32 | while read FILE do cp $FILE '/new/dir' Email part less info.txt | mail -s "This is your email subject" [email protected] You use find to locate the files you want to use. This example uses files 32 minutes and newer. (-mtime is days). My example is copying files, you could move or delete or convert the audio files to whatever as well. I hope this helps. Todd On Tue, 24 Jan 2012 08:53:55 -0500 (EST) Alan Peterson <[email protected]> wrote: > No, you're pretty much on target Wayne. I have danced around with > Rotter a little bit, which, for all its simplicity, is actually a > cool little program. > > RDCatch and LAB also do what I need to have done for the logging > aspect. But I still need the auto e-mail and the mass wipe of files > after a specified period. That's where I need a little aim in coming > up with the syntax to execute a proper cron job. > > -AP > > > > ----- Original Message ----- > From: "Wayne Merricks" <[email protected]> > To: [email protected], "User discussion about the Rivendell Radio > Automation System" <[email protected]> Sent: > Monday, January 23, 2012 12:52:51 PM GMT -05:00 US/Canada Eastern > Subject: Re: [RDD] Timed & Notified Deletions of RDCatch Material > > Hi, > > Theres a program called rotter that already does most of this: > > http://www.aelius.com/njh/rotter/ > > "Rotter is a Recording of Transmission / Audio Logger for JACK. It > was designed for use by radio stations, who are legally required to > keep a recording of all their output. Rotter runs continuously, > writing to a new file every hour. > > Rotter can output files in servaral different strutures, including > all files in a single directory or create a directory structure.The > advantage of using a folder hierarchy is that you can store related > files in the hour's directory." > > Although it won't send out an email it does check every hour whether > it needs to delete anything. > > Apologies if I've misunderstood the question. > > Regards, > > Wayne > > On Mon, 23 Jan 2012 16:45:40 -0000, Cowboy <[email protected]> wrote: > > > On Monday 23 January 2012 11:18:25 am Alan Peterson wrote: > >> This is probably best suited as a cron job, unless there is > >> something in either LAB or RDC that already does this. > > > > I'm envisioning something derived from the ( mostly ) standardized > > "log rotate" > > scripts in many distro's today. > > Move the stuff to a target ( temporary ) directory, then cdrecord > > to generate > > an ISO and burn..... > > Not a lot of hacking to get this done, but I agree, if there's > > already something in LAB or RDC that does an elegant job already. > > _______________________________________________ Rivendell-dev mailing list [email protected] http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
