Page 1 of 1

renaming with external file list mapping

Posted: 30 May 2013, 08:31
by warover
Hi there,
I use this tool for cli-based batch-renaming.
is it yet somehow possible to rename tv show based video files with ugly acronyms from an external txt file.
for instance you have the file "ps714.mp4" and in an external txt file there are mappings defined like "ps Psych" so the file would be named to Psych714.mp4
i would really have use for something like that
anyhow great tool
best regards wo

Re: renaming with external file list mapping

Posted: 30 May 2013, 20:26
by rednoah
Neh, too messed up, you'd need to add lots of extra hints via --q and --filter for it to work:

Code: Select all

filebot -rename "ps714.mp4" --db thetvdb --q psych --filter "n == /Psych/ && s == 7" -non-strict
It'd be much better to just pre-process the filenames, e.g.

Code: Select all

filebot -script fn:replace --def "e=ps" "r=Psych." /path/to/files
Filename Find & Replace script:
http://www.filebot.net/forums/viewtopic ... &t=5#p2100

Re: renaming with external file list mapping

Posted: 31 May 2013, 17:42
by warover
ok thx anyway
then i will make an ugly shell script for that myself