Some scripting help
Does anyone know of a script of a good way to non-interactively (bash, applescript, automator) parse the TV show information from the filename? Example, if my file is Lost.S04E02.HDTV.LoL.avi, I'd like to glean that the TV Show name is Lost, season 4, episode 2. I had previously found a link to do this but now it's 404ing. Rather than try and fuck around with perl, sed, and/or awk, I was wondering if you guys had any creative insight.
This will help with my Automatic > Transmission > HandBrakeCLI > tag with AtomicParsley > import into iTunes > Sync iPhone set of scripts that will get all my favorites TV shows and automagically put them on my phone so I can wake up and get on the train in the morning without having to think about it.
THanks!
|