Renaming files - Synology
Renaming files - Synology
I'm trying to remove a string of text from an annoying large list of files that I have saved on my Synology. Read that FileBot could handle this but I'm struggling to find a way how to do this. Basically, I have a lot of files that have a date/time tag on the end of the filename (i.e., * (2019_06_06 2019_07_07).wav). I want to replace this tag with nothing and resave. Is this possible with FileBot Node on Synology?
Re: Renaming files - Synology


Format: Select all
{ fn.before(/\(.*\)$/) }

Console Output: Select all
$ filebot -rename *.wav --db file --format "{ fn.before(/\(.*\)$/) }"
Rename files using [Plain File]
[MOVE] from [A file (2019_06_06 2019_07_07).wav] to [A file.wav]