Answer the question
In order to leave comments, you need to log in
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
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
ren filename1.jpeg new_filename1.jpeg
ren filename2.doc new_filename2.doc
ren filename3.psd new_filename3.psd
I suspect that it can be done through a bat file, but I think it will not be easy.
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 questionAsk a Question
731 491 924 answers to any question