#1 2023-07-20 05:52

Registered: 2011-08-10
Posts: 8

Subtract a second from time in the filename

Been a while...

Anyway hoping i can do this to save me some time..

Is there a  way to subtract a second from a named file for example

i have my flac music files named like this

Mud - 01 - Dyna-Mite (3.00)

the duration added at the end by a tag program, however some of the times the duration is slightly wrong it is always a second longer when compared to the log of the file so for example the log of that file is (2.59)

is there a way i could reduce that duration by a second so i could simply drag a load of files and have renamer pro rename them minus the 1 second

ie Mud - 01 - Dyna-Mite (3.00)

would be

Mud - 01 - Dyna-Mite (2.59)

Thanks for the help.


#2 2023-07-21 21:44

From: den4b.com
Registered: 2006-04-06
Posts: 3,400

Re: Subtract a second from time in the filename

This is actually a great task for the Reformat Date rule.

Rule configuration:

  • Find format: n.ss

  • Convert to format: n.ss

  • Match as whole words only: YES

  • Skip extension: (as you wish)

  • Adjust time by: -1 seconds


#3 2023-07-24 10:22

From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Subtract a second from time in the filename

Wonderful solution.

Works fine for me.

Now I understand better how this works (match the wanted by using fitting "Find format" and "Convert to format")

Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)


Board footer

Powered by FluxBB