[Bash/Linux] Help with Rename script
Posted: August 18th, 2011, 1:36 pm
Hi all,
Newb here - I'm looking for help coding an automatic renamer script which will remove the source/codec/group from commonly downloaded tv files. For example, I'd like the script to change:
minute.to.win.it.s02e38.hdtv.xvid-qcf.avi TO minute.to.win.it.s02e38.avi
House.S07E22.HDTV.x264-DIMENSION.mkv TO House.S07E22.mkv
Basically this applies only to TV shows so all I want it to search for "hdtv", and remove that until the period before the file extension. Any tips? Thanks in advance!
Newb here - I'm looking for help coding an automatic renamer script which will remove the source/codec/group from commonly downloaded tv files. For example, I'd like the script to change:
minute.to.win.it.s02e38.hdtv.xvid-qcf.avi TO minute.to.win.it.s02e38.avi
House.S07E22.HDTV.x264-DIMENSION.mkv TO House.S07E22.mkv
Basically this applies only to TV shows so all I want it to search for "hdtv", and remove that until the period before the file extension. Any tips? Thanks in advance!