Rename - take filenames from another folder

Discussion related to "Everything" 1.5 Alpha.
Post Reply
w64bit
Posts: 252
Joined: Wed Jan 09, 2013 9:06 am

Rename - take filenames from another folder

Post by w64bit »

Is there any way to rename several files in a folder, like this?

2 folders + the same number of files.
Folder 1: X1-abc.txt, X2-def.txt ...
Folder 2: X1.txt, X2.txt ...
Rename
X1 to X1-abc
X2 to X2-abc
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Rename - take filenames from another folder

Post by therube »

Oh, not really following what you're wanting to do at all?
But if it is simply a 1 to 1 rename (for whatever 1 to 1 means - to me)...

In Directory 2, set:

Old Format: %1
New Format: (regex deselected) to
X$number:-abc.txt


That will rename everything in Directory 2 with a sequential number, prefixed by X, & with "-abc.txt" as a suffix.

X1-abc.txt
X2-abc.txt
X3-abc.txt
...
X999-abc.txt
...


If the files in Directory 1 are meant to correspond to the files in Directory 2
dir1.X1... = dir2.X1...
dir1.X2... = dir2.X2...
then obviously your sort of the original names has to be using the same method (like Name, Ascending).
Post Reply