[help] rename by embedding from external text list

Discussion related to "Everything" 1.5 Alpha.
Post Reply
asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

[help] rename by embedding from external text list

Post by asamirid »

greetings everyone 👋👋..

i need help to rename a bunch of files by embedding some info from external text list into filenames.

like in this image below ..

ev_ren_01.jpg
ev_ren_01.jpg (384.75 KiB) Viewed 1562 times

what i need here is to rename

bc_file_001.txt > bc_file_001_apple.txt
bc_file_002.txt > bc_file_002_orange.txt
bc_file_003.txt > bc_file_003_banana.txt

where is "apple, orange, banana" is external text list, , not a part of or a a property of the file itself.

how can i achieve that ??

thank you ..
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: [help] rename by embedding from external text list

Post by therube »

Bulk Rename Utility has a "rename pairs" feature that may be of benefit?
Renaming From A Text File

With Bulk Rename Utility it is possible to rename files according to a text file. The text file should contain a list of "old name" and "new name" pairs, separated by a pipe symbol ( | ) or a comma ( , ). Bulk Rename Utility will read ANSI and Unicode (UTF-16) text files.

To use this facility, create a text file in for the correct format, for example:

Track001.mp3|Headlong.mp3
Track002.mp3|Rushes.mp3
TRACK003.mp3|AnywhereIs.mp3

or use comma separated (CSV)

Track001.mp3,Headlong.mp3
Track002.mp3,Rushes.mp3
TRACK003.mp3,AnywhereIs.mp3

One entry per line.


Next, click the Import Rename-Pairs on the Actions menu and select your file. If the file is valid, then select all the files to rename and you will see the "new name" column reflecting the contents of the text file.

When comparing the current filename with the text file, the application ignores the case of the filename, e.g. it will match Track001.mp3 and TRACK001.mp3. This makes it easy to rename the files.

Click on "Rename Pairs Imported" to show the list of imported renaming pairs.



Specifying Full Paths
You can also specify full paths, such as c:\folder\track1.mp3, in the first column for the old file names.
Then Bulk Rename Utility will match these names against the full path and not just the file name.



Text File Requirements

Bulk Rename Utility will read ANSI and Unicode (UTF-16) text files.


Note: You can view all the imported rename-pairs by selecting 'View Imported Rename-Pairs' from the Bulk Rename Utility menu.
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: [help] rename by embedding from external text list

Post by horst.epp »

Total Commander has a function in its multi rename tool
to load files from a list after editing the file list.
So I can find the files to be renamed with Everything
and use TC and my editor for the renaming.
asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

Re: [help] rename by embedding from external text list

Post by asamirid »

thank you therube for ur answer, i already know some free tools that can do this task, but i actually need todo it inside everything. if this feature is not implemented yet I hope it comes to everything in the near future.
therube wrote: Wed Jun 28, 2023 2:51 pm Bulk Rename Utility has a "rename pairs" feature that may be of benefit?
Renaming From A Text File

With Bulk Rename Utility it is possible to rename files according to a text file. The text file should contain a list of "old name" and "new name" pairs, separated by a pipe symbol ( | ) or a comma ( , ). Bulk Rename Utility will read ANSI and Unicode (UTF-16) text files.

To use this facility, create a text file in for the correct format, for example:

Track001.mp3|Headlong.mp3
Track002.mp3|Rushes.mp3
TRACK003.mp3|AnywhereIs.mp3

or use comma separated (CSV)

Track001.mp3,Headlong.mp3
Track002.mp3,Rushes.mp3
TRACK003.mp3,AnywhereIs.mp3

One entry per line.


Next, click the Import Rename-Pairs on the Actions menu and select your file. If the file is valid, then select all the files to rename and you will see the "new name" column reflecting the contents of the text file.

When comparing the current filename with the text file, the application ignores the case of the filename, e.g. it will match Track001.mp3 and TRACK001.mp3. This makes it easy to rename the files.

Click on "Rename Pairs Imported" to show the list of imported renaming pairs.



Specifying Full Paths
You can also specify full paths, such as c:\folder\track1.mp3, in the first column for the old file names.
Then Bulk Rename Utility will match these names against the full path and not just the file name.



Text File Requirements

Bulk Rename Utility will read ANSI and Unicode (UTF-16) text files.


Note: You can view all the imported rename-pairs by selecting 'View Imported Rename-Pairs' from the Bulk Rename Utility menu.
asamirid
Posts: 127
Joined: Sat Oct 13, 2018 12:28 pm

Re: [help] rename by embedding from external text list

Post by asamirid »

i need to do this inside everything to simplify pa automation task
horst.epp wrote: Wed Jun 28, 2023 6:09 pm Total Commander has a function in its multi rename tool
to load files from a list after editing the file list.
So I can find the files to be renamed with Everything
and use TC and my editor for the renaming.
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: [help] rename by embedding from external text list

Post by horst.epp »

asamirid wrote: Thu Jun 29, 2023 12:27 am i need to do this inside everything to simplify pa automation task
At the end Everything should do all the jobs which are already possible
in several tools or file managers.
Currently, many jobs are done much easier in a 2 pane file manager than in Everything.
The Unix approach says keep things simple.
Using Everything for complex searches and let the file manager do the rest is at least for me much simpler.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: [help] rename by embedding from external text list

Post by NotNull »

asamirid wrote: Thu Jun 29, 2023 12:27 am i need to do this inside everything to simplify pa automation task
Yo need to do this in a dedicated and specialized applictaion.
Post Reply