[Linux] Command Line option to rename artwork with filename?
Posted: 19 Nov 2017, 13:57
Hi,
I'm using the latest Linux version on the command line with the following code:
This works but all the artwork files are named folder.jpg, disc.png, poster.jpg...etc. I tried a few things to get them renamed to "Star Wars-folder.jpg, Star Wars-disc.png, Star Wars-poster.jpg.
I tried with the above code and movieFormat something like "fn.match..." but it only changes the filename (as expected).
Next try was with
to get both fanart.jpg and Star Wars.jpg but {fn} doesn't work the way I expected in this situation and I can't find more parameters for fn:replace.
Is there any solution for my problem on the command line?
Thanks in advance!
I'm using the latest Linux version on the command line with the following code:
Code: Select all
sudo filebot -script fn:amc --action move -non-strict "/home/computer/movies" --log-file amc.log --def skipExtract=y --def unsorted=y --lang German --def artwork=y --def minFileSize=150 --def movieFormat="/home/computer/movies/movies_sorted/{n} ({y})/{folder.name}" --def clean=y
I tried with the above code and movieFormat something like "fn.match..." but it only changes the filename (as expected).
Next try was with
Code: Select all
filebot -script fn:replace --def "e=fanart" "r={fn}" /home/computer/movies/movies_sorted --action copy
Is there any solution for my problem on the command line?
Thanks in advance!