swapping names between 2 files

Advanced Renamer forum
#1 : 12/03-23 12:32
Babu Rao Raparla
Babu Rao Raparla
Posts: 1
i have to files, let us assume that first file is named 331 and second file is named 332.

But the 331 file should be named 332 and 332 file should be named 331. And it should be done in the same folder

like that, there are multiple files to be swaped. Any possible way to do it??


12/03-23 12:32
#2 : 12/03-23 13:47
David Lee
David Lee
Posts: 1125
This is not possible in a single step because the program would be trying to create duplicate filenames during the renaming process.

The easiest workaround is to add additional characters to the new filenames and then remove them in a second pass of the program.

You haven't made it clear whether you have problems with the actual renaming but one way would be to produce a csv file with existing filenames in one column and replacement names in another.
Load the file into Advanced Renamer using Import->Files from CSV... and the files will be loaded into the list with the new filenames entered into a List method.

See www.advancedrenamer.com/user_guide/csvimport


12/03-23 13:47