[mythtv] [mythtv-commits] Ticket #3092: Ability to set the directory for each recording

Johan Venter mythtv at vulturest.com
Fri Feb 16 23:32:21 UTC 2007

Michael T. Dean wrote:
> As a matter of fact, I use a little script that calls mythrename.pl 
> multiple times--each time creating a new directory of links using 
> different formats (which means they're sorted differently)--giving me 
> several "views" of my recordings.
> The script is attached and is relatively self-explanatory.

Great script, I've never really played with mythrename.pl but making 
links like this is excellent.

I added the following line to the script to remove any symlinks whose 
targets had been deleted/expired and cronned it :)

   find -L ${VIEWS_PATH} -lname '*' -exec rm {} \;

Took me a couple minutes to work out how to do it (I can never remember 
find options), so thought I would share.



More information about the mythtv-dev mailing list