Is it possible to rename files based on a different files in a different directory?

Advanced Renamer forum
#1 : 14/02-18 21:28
Phi
Phi
Posts: 4
So here's what I'm trying to do:

I have 250 different files in one directory (this would be the source of the file names), in another directory I have one file duplicated 250 times - I want to rename the duplicated files to match the same names as the directory with the different files.

So in the end I have two directories with 250 items each with the exact same file names but one directory is all the same file (with different names) while the source directory remains untouched. Does AR have this capability?


14/02-18 21:28
#2 : 15/02-18 06:57
Mark
Mark
Posts: 175


15/02-18 06:57
#3 : 15/02-18 12:27
Stefan
Stefan
Posts: 274
Reply to #2:

How-to

- - -

Gather the old names:

- open a "DOS" command line -Box
- go to your 'one directory'

- type 'dir /B'
nice list?

- to exclude directories type 'dir /b /A-D' ,... at least in Germany.
You may need to type 'dir /b /A-O'
,.... type 'dir /?' to read the help.

- - -

Export:

- type ' dir /B >"__MyList.txt" '

- open "__MyList.txt" in Notepad and double check

- - -

Rename:

- launch ARen
- add your 'another directory'

- use https://www.advancedrenamer.com/user_guide/metho d_list
and load that above created "__MyList.txt"




HTH?


15/02-18 12:27
#4 : 15/02-18 13:49
Mark
Mark
Posts: 175
Reply to #3:
I think the OP wanted AR to do this, so based on the User Guide ...

I created a Source folder with 4 different files, named differently
I created a Copy folder with 4 files, all the same a ONE of the files in the Source folder, but obviously all named differently.

In AR:

Add Source folder.
Method/List
Populate List/Yes
Clear the file list (not the Method list) so no files selected
Add Copy folder (List method is still active)
Check New filename, start batch

Nice!



15/02-18 13:49 - edited 15/02-18 13:50
#5 : 15/02-18 16:33
Phi
Phi
Posts: 4
Reply to #4:

"Add Source folder.
Method/List
Populate List/Yes
Clear the file list (not the Method list) so no files selected
Add Copy folder (List method is still active)
Check New filename, start batch"

YES YES YES! Thank you so much this worked perfectly - this is going to make my life so much easier!!!


15/02-18 16:33
#6 : 15/02-18 17:27
Mark
Mark
Posts: 175
Reply to #5:
and thanks for the feedback :)


15/02-18 17:27