renaming with external file list mapping

All your suggestions, requests and ideas for future development
Post Reply
warover
Posts: 17
Joined: 26 Mar 2013, 13:52

renaming with external file list mapping

Post 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
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: renaming with external file list mapping

Post 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
:idea: Please read the FAQ and How to Request Help.
warover
Posts: 17
Joined: 26 Mar 2013, 13:52

Re: renaming with external file list mapping

Post by warover »

ok thx anyway
then i will make an ugly shell script for that myself
Post Reply