Renaming from Excel file containing old and new names

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
klausdetlef
Junior Member
Junior Member
Posts: 2
Joined: 2013-03-19, 10:05 UTC

Renaming from Excel file containing old and new names

Post by *klausdetlef »

Hi

I have an issue, where I have to rename 850 (EPS) files, from one specific name to another specific name. F.x:

From "5702015124974.eps" to "30067_29_UPS.eps"
From "5702014767844.eps" to "30068_29_UPS.eps"
From "5702013423452.eps" to "30123_39_UPS.eps"
... and so on ...

I have an Excel file containing the "from name" and the "to name".

Is it possible to do this in Total Commander?

Best regards

Klaus
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Since you have it in Excel, probably the easiest way is to create a text file so it content looks like this:
move:"<path_with_old_filename1>" -> "<path_with_new_filename1>"
move:"<path_with_old_filename2>" -> "<path_with_new_filename2>"
move:"<path_with_old_filename3>" -> "<path_with_new_filename3>"
...
For example

Code: Select all

move:"c:\folder\5702015124974.eps" -> "c:\folder\30067_29_UPS.eps"
When you have that file prepared, click in TC on menu "Net" -> "FTP download from list...", select the created text file and press OK. That should do it.

edit: added double-quotes - not necessary but it's safer with them
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
silencer
Senior Member
Senior Member
Posts: 208
Joined: 2003-05-13, 13:18 UTC
Location: The Netherlands

Post by *silencer »

You can also use the multi rename tool with the load names from file option.

Just create a txt file with the new filenames and load them. Only thing is that you have to make sure the sorting is the same as in you excel.
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

2silencer
I totally forgot about that :oops:
If klausdetlef really wants just to rename a bunch of files that are all in the same folder, that he can make sure that their order is right and doesn't want to move/copy them somewhere else afterwards, then this will be a bit simpler. And probably more obvious.
Windows 10 Pro x64, Windows 11 Pro x64
klausdetlef
Junior Member
Junior Member
Posts: 2
Joined: 2013-03-19, 10:05 UTC

Post by *klausdetlef »

Hi

Thanks for your answers. Umbra's solution worked for me :D

The other solution makes it a bit more difficult because of the sorting of the files.

/Klaus
Post Reply