V
V
VANY2019-01-10 23:50:49
Windows
VANY, 2019-01-10 23:50:49

How can I rename a bunch of files using a complex algorithm?

There are 100 files, there is a toster phrase.
It is necessary to randomize the phrase toster by replacing 1 character in it with any character, getting 100 variations.
Each variation must be whole and inserted into the file name in a random place and its properties (some attributes).

Answer the question

In order to leave comments, you need to log in

6 answer(s)
G
GavriKos, 2019-01-10
@GavriKos

The python script will do it with a bang.

S
stratosmi, 2019-01-11
@stratosmi

100 you can easily generate manually.
Create a text file with a .cmd or .bat extension using the command
The command must be executed in the directory where your files are located.
Open in a text editor
Inside will be something like:

filename1.jpeg
filename2.doc
filename3.psd

Copy the vertical box, paste the vertical box, add "ren", change the file name in the second column, etc., etc.
You should end up with something like:
ren filename1.jpeg  new_filename1.jpeg
ren filename2.doc  new_filename2.doc
ren filename3.psd  new_filename3.psd

Run the resulting modified file, it renames

J
Johnny Smith, 2019-01-11
@Olek1

Helped out 100 times: https://www.advancedrenamer.com

A
ApeCoder, 2019-01-11
@ApeCoder

Powershell

N
Nikita Yudin, 2019-01-10
@NikitaNike

I suspect that it can be done through a bat file, but I think it will not be easy.

A
Artem @Jump, 2019-01-11
curated by the

You definitely need a script - that is, you still have to write.
But what is the question. Basically, what is more convenient for you.
I would do it on Python, if you are puzzled, you can also use bat, but this is very perverse.
And then there is JS and VBS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question