Getting original name into a folder

Support for Ubuntu and other Desktop Linux distributions
Post Reply
chocorem
Posts: 31
Joined: 21 Feb 2015, 18:31

Getting original name into a folder

Post by chocorem »

Hello,

I wanted to change the rename pattern of my file

Code: Select all

Movies/{any{localize.French.collection/"($y) $localize.Fre.n"}{"($y) $localize.Fre.n"}}/$original
example from a file

Code: Select all

Gone 2012 MULTi VFF 1080p BluRay AC3 x265-Winks.mkv
wanted to get

Code: Select all

(2012) Disparue/Gone 2012 MULTi VFF 1080p BluRay AC3 x265-Winks.mkv
so simply create a directory, with the original filename inside

and I'm always getting

Code: Select all

(2012) Disparue/.mkv
Before it was working with

Code: Select all

Movies/{any{localize.French.collection/"($y) $localize.Fre.n"}{"($y) $localize.Fre.n"}}/{localize.Fre.n}
but I wanted to keep the original filename info

Could you please help me ?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Getting original name into a folder

Post by rednoah »

{original} refers to the original filename as per xattr metadata stored by FileBot when the file was originally renamed by FileBot for the first time:
https://www.filebot.net/naming.html


:!: {original} is always undefined for files that have never been renamed by FileBot before, or if xattr metadata have been lost. If you want to preserve the current filename, then {fn} is the binding you're looking for.
:idea: Please read the FAQ and How to Request Help.
chocorem
Posts: 31
Joined: 21 Feb 2015, 18:31

Re: Getting original name into a folder

Post by chocorem »

understood, is there another way to get the original file name in the amc process ?
chocorem
Posts: 31
Joined: 21 Feb 2015, 18:31

Re: Getting original name into a folder

Post by chocorem »

I found it mysel with the $fn switch !

thanks
Post Reply