Page 1 of 1

Renaming music files with filebot node

Posted: 15 Jan 2018, 14:07
by quarttemps
Hi,

I would like to automatically rename the podcasts I download with Download Station with the filebot node.

I usually use mp3Tag, with the command line:

Code: Select all

$regexp(%_file_mod_date%,(..)/(..)/(....),$3$2$1) - %album%
The new name should be :

Code: Select all

{File modification date YYYYMMDD} - {album}
I cant't find how to call the "file modification date" variable with filebot.
Is there a way to this with Filebot ?

Thanks in advance,
QT

Re: Renaming music files with filebot node

Posted: 15 Jan 2018, 17:02
by rednoah
{dt} will give you the file creation date, so you can do something like this:

Code: Select all

{dt.format(/uuuu-MM-dd/)}
@see https://docs.oracle.com/javase/8/docs/a ... l#patterns

On Linux, there is no creation date, so the creation date defaults to the last modified date. On Windows and Mac however, creation date is different from last modified date.

Re: Renaming music files with filebot node

Posted: 15 Jan 2018, 18:56
by quarttemps
Thank you !

Unfortunately, the process aborts. I need mediainfo, and I can't find it from the synocommunity on the package center of my 918+.