Rename files in one folder from files in another folder

Post any Bulk Rename Command support requirements here. Open to all registered users.

Rename files in one folder from files in another folder

Postby NimrodMor » Fri May 08, 2015 7:00 am

Hi all,
I have 2 folders with the same number of files, i want to rename the files in one folder to be exactly like the files in the other one.
Is this possible? and how please?
Thank you.
NimrodMor
 
Posts: 1
Joined: Fri May 08, 2015 6:54 am

Re: Rename files in one folder from files in another folder

Postby Stefan » Tue May 19, 2015 12:04 pm

Step 1)
make a list of the file names from first folder.

For example with DOS: dir /b > NEWfilenamelist.txt

NEWfilenamelist.txt contains now. e.g.:
wantedFilename01.ext
wantedFilename02.ext
...
...



Step 2)
make a list of the file names from second folder: dir /b > oldfilenames.txt

oldfilenames.txt contains now, e.g.:
oldname01.ext
oldname02.ext
...
...



Step 3)
concatenate the two list together, like
oldname01.ext|wantedFilename01.ext
oldname02.ext|wantedFilename02.ext
...
...


and save this e.g. as RenameList.txt




Step 4)
search the forum for "Renaming From A Text File" method (or read the help) and use the RenameList.txt file for that.

http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=2&t=435
http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=3&t=1271&p=3652&#p3652
http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=8&t=1644
http://www.bulkrenameutility.co.uk/forum/viewtopic.php?f=4&t=1904


 

 
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU


Return to BRC Support