Batch rename files (CTRL+M) using folder/path name and parts of it

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
harvester_cz
Junior Member
Junior Member
Posts: 2
Joined: 2024-07-26, 17:51 UTC

Batch rename files (CTRL+M) using folder/path name and parts of it

Post by *harvester_cz »

Upon recovering files from MAC SSD, the recovery software created a complex nested tree of folders like:

i:\_Lenka_recovery\Users\lela\Pictures\Fotky Library.photoslibrary\Masters\2001\01\01\20010101-001930
...
i:\_Lenka_recovery\Users\lela\Pictures\Fotky Library.photoslibrary\Masters\2014\10\23\20141023-131241

etc.

each of which contained the images itselves.

Browsing such results would have been very difficult for the user, so I needed to rename each image in these folders so, that it had the folder name that it has been in as a prefix of the new filename, e.g:

IMG_5667.JPG -> 20010101-001927_IMG_5667.JPG

Then I would place all the files in the top folder so that the user can browse the images sorted by the date from the path name.

I was not able to achieve this by Total Commander CTRL+M tool as it lacks this option/variable.

I found this utility: https://www bulkrenameutility .co.uk/
which has this function and I was able to do it.

Can you please add this to Total Commander? And also add an option to use maybe just part of the folder name, or name of the superior folder .. etc.

Thanks.




URL to commercial software disabled by moderator
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Re: Batch rename files (CTRL+M) using folder/path name and parts of it

Post by *Gral »

RTFM :!: - press F1 when you in MRT
These options already exist :!: - use [P][N] instead just [N].
You can also use e.g. [G][P][N] or part of it [G#-##][P#-##][N#-##] or any part of full pathname with [#-##] where # are numbers [P] - parent folder, [G] - grandparent folder.
harvester_cz
Junior Member
Junior Member
Posts: 2
Joined: 2024-07-26, 17:51 UTC

Re: Batch rename files (CTRL+M) using folder/path name and parts of it

Post by *harvester_cz »

Well, thank you for your KIND reply, I must have missed the option as it is not directly visible in the main CTRL+M screen. I am using TC for many years, but never seen this one.

Maybe next time you can skip RTFM and reply as a normal person.

Thanks.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6954
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Batch rename files (CTRL+M) using folder/path name and parts of it

Post by *Horst.Epp »

harvester_cz wrote: 2024-07-27, 14:04 UTC Well, thank you for your KIND reply, I must have missed the option as it is not directly visible in the main CTRL+M screen. I am using TC for many years, but never seen this one.

Maybe next time you can skip RTFM and reply as a normal person.

Thanks.
If more users pressed F1 and read the help
a lot of question in the forum would never be written. :wink:
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Re: Batch rename files (CTRL+M) using folder/path name and parts of it

Post by *Sir_SiLvA »

Horst.Epp wrote: 2024-07-27, 14:33 UTC
harvester_cz wrote: 2024-07-27, 14:04 UTC Well, thank you for your KIND reply, I must have missed the option as it is not directly visible in the main CTRL+M screen. I am using TC for many years, but never seen this one.

Maybe next time you can skip RTFM and reply as a normal person.

Thanks.
If more users pressed F1 and read the help
a lot of question in the forum would never be written. :wink:
Amen! 🙏 🙏
Hoecker sie sind raus!
Post Reply