Multirename tool: Remove last 11 characters from file name

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
generalu08
Junior Member
Junior Member
Posts: 4
Joined: 2018-01-09, 06:06 UTC

Multirename tool: Remove last 11 characters from file name

Post by *generalu08 »

Hello

I would like to remove the last 11 characters from the files (eg. 004_30.11.2015.JPG).

The resulted file name to be (004.JPG)

Thank you
User avatar
silencer
Senior Member
Senior Member
Posts: 208
Joined: 2003-05-13, 13:18 UTC
Location: The Netherlands

Post by *silencer »

You can use [N1--12] in the MRT
generalu08
Junior Member
Junior Member
Posts: 4
Joined: 2018-01-09, 06:06 UTC

Post by *generalu08 »

Doesn't work or I have not performed the task correctly.

I have selected the file and have entered the code into the box but in the new file description appears <'Error!>. Is it ok? I'm new into this.
[/img]
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

http://rgho.st/7mfZ25xGP
Working fine here
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Hi and welcome generalu08.
generalu08 wrote:Doesn't work or I have not performed the task correctly.
I have selected the file and have entered the code into the box
Which box did you use?
Use the 'file name' box.



I'm new into this.
In MRT-dialog press the F1-key to see how it basically works.




 
generalu08
Junior Member
Junior Member
Posts: 4
Joined: 2018-01-09, 06:06 UTC

Post by *generalu08 »

Works fine indeed I've made a mistake.

Thanks for support.

For my info what means [N1--12] ? If in the future I would like to remove less or more characters what's the logic behind this code?
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

generalu08,
generalu08 wrote:For my info what means [N1--12] ? If in the future I would like to remove less or more characters what's the logic behind this code?
Stefan2 wrote:In MRT-dialog press the F1-key to see how it basically works.
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
generalu08
Junior Member
Junior Member
Posts: 4
Joined: 2018-01-09, 06:06 UTC

Post by *generalu08 »

Thanks for additional info.

For .MOV files I cannot rename them with the date of creation by using the exif plugin [=exif.DateOriginal]? Is there another plugin that might help me?

eg. I have the file 237_26.05.2016.MOV, I will remove the last characters and the result will be this 237.MOV, afterwards I want to add the original date when (taken date) of the video.

For .JPG files it works but for .MOV files for does not work.
User avatar
silencer
Senior Member
Senior Member
Posts: 208
Joined: 2003-05-13, 13:18 UTC
Location: The Netherlands

Post by *silencer »

You need to find the correct content plugin which will give the proper information. If you can see the correct field in windows explorer, u can try shelldetails. This content plugin has many fields which are shown by windows explorer.
User avatar
Phred
Senior Member
Senior Member
Posts: 375
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Exif

Post by *Phred »

generalu08 wrote:Thanks for additional info.

For .MOV files I cannot rename them with the date of creation by using the exif plugin [=exif.DateOriginal]? Is there another plugin that might help me?

eg. I have the file 237_26.05.2016.MOV, I will remove the last characters and the result will be this 237.MOV, afterwards I want to add the original date when (taken date) of the video.

For .JPG files it works but for .MOV files for does not work.
That filename range, generalu08, means 'choose from the first to the twelfth-last character'.

The Exif standard relates only to jpeg/jpg files. No others that I can think of can hold the Exif data inside.

The date of your .MOV files is very likely the date incorporated in the filenames. You wouldn't want to remove it then add it back in..

If you're meaning that you'd like to change the date of the files, then use the File, Change attributes function, and piece together a writedate construct like:
[=tc.fullname:6-7]/[=tc.fullname:9-10]/[=tc.fullname:12-15] [=tc.writetime] for the logical dd/mm/yyyy format (maintaining the written time)

...in the Change plugin attributes section.

HTH
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
Post Reply