Batch rename files in different directories?


J

Jack

I created an unwieldy situation.

I have about 100 directories and in each directory there are 4 files,
named A, B, C, and D.

Directory 1 has 4 files, A, B, C, and D.

Directory 2 has 4 files, A, B, C, and D... and so on

This has become a problem because I need to assemble all "A" files in
one directory to perform a batch operation and, of course each
successive "A" files wants to overwrite the preceding "A" file.

Is there a program that will allow me to batch rename these files in
different directories to A001, A002, A003, etc?

Thanks,
Jack
 
Ad

Advertisements

N

null

I created an unwieldy situation.

I have about 100 directories and in each directory there are 4 files,
named A, B, C, and D.

Directory 1 has 4 files, A, B, C, and D.

Directory 2 has 4 files, A, B, C, and D... and so on

This has become a problem because I need to assemble all "A" files in
one directory to perform a batch operation and, of course each
successive "A" files wants to overwrite the preceding "A" file.

Is there a program that will allow me to batch rename these files in
different directories to A001, A002, A003, etc?
What are the names of the 100 directories? If they aren't named in
some sequentially organized way, I don't see how the solution can be
automated.

Or did you mean that the directories are literally named as

1, 2, 3, 4, 5, ........ N


Art
http://www.epix.net/~artnpeg
 
T

Tim Weaver

Jack said:
I created an unwieldy situation.

I have about 100 directories and in each directory there are 4 files,
named A, B, C, and D.

Directory 1 has 4 files, A, B, C, and D.

Directory 2 has 4 files, A, B, C, and D... and so on

This has become a problem because I need to assemble all "A" files in
one directory to perform a batch operation and, of course each
successive "A" files wants to overwrite the preceding "A" file.

Is there a program that will allow me to batch rename these files in
different directories to A001, A002, A003, etc?
Flexible Renamer will do it. Use the "Recursive Sub Folders" and "Advanced
Rename" options. Enter your "Search for:" and "Replace with:" masks.

If you had four files named "a.txt" in four different folders, entering
"a.txt" for the "Search for:" mask and "a?.txt" for the "Replace with:" mask
would result in "a1.txt", "a2.txt", "a3.txt" and "a4.txt" in their
respective folders. You could then copy them into one folder.

That's just an example. With this program, I'm sure there are several ways
to get the desired result. It's a good one.

http://hp.vector.co.jp/authors/VA014830/english/FlexRena/
 
J

Jörg Schneider

Jack said:
I created an unwieldy situation.

I have about 100 directories and in each directory there are 4 files,
named A, B, C, and D.

Directory 1 has 4 files, A, B, C, and D.

Directory 2 has 4 files, A, B, C, and D... and so on

This has become a problem because I need to assemble all "A" files in
one directory to perform a batch operation and, of course each
successive "A" files wants to overwrite the preceding "A" file.

Is there a program that will allow me to batch rename these files in
different directories to A001, A002, A003, etc?
Hi,

I know a program that can do this: JOE
http://lab1.de/Central/Software/Datei-Tools/Joe/

Unfortunately it is in german only, but here are the necessary steps for
you:

1. Do a Windows search in your root directory (where the 100 subdirs are)
for 'A'
2. Select all files (CTRL+A) and drag&drop them with your mouse in the
JOE-window
3. In Field 'Maske' select A[Zahl].Typ (Zahl=number & typ=extension)
4. in section 'Zähler' select Länge=3 (Zähler=counter, Länge=length --> 001,
002, etc.)
5. in section 'Zähler' select Vornullen=Null (Vornullen=fill-up-spaces: 001,
__1, etc.)
6. select 'Umbenennen' (Umbenennen=rename)
7. Repeat 1-6 with B, C, D

The directories will look like:
directory1
A001
B001
...
directory2
A002
B002
and so on...

HTH,
Jörg
 
J

Jack

THANKS, Jörg, for the translation efforts. My German is very weak. Your
instructions worked very well indeed!

Jack


Jörg Schneider said:
Jack said:
I created an unwieldy situation.

I have about 100 directories and in each directory there are 4 files,
named A, B, C, and D.

Directory 1 has 4 files, A, B, C, and D.

Directory 2 has 4 files, A, B, C, and D... and so on

This has become a problem because I need to assemble all "A" files in
one directory to perform a batch operation and, of course each
successive "A" files wants to overwrite the preceding "A" file.

Is there a program that will allow me to batch rename these files in
different directories to A001, A002, A003, etc?

Hi,

I know a program that can do this: JOE
http://lab1.de/Central/Software/Datei-Tools/Joe/

Unfortunately it is in german only, but here are the necessary steps for
you:

1. Do a Windows search in your root directory (where the 100 subdirs are)
for 'A'
2. Select all files (CTRL+A) and drag&drop them with your mouse in the
JOE-window
3. In Field 'Maske' select A[Zahl].Typ (Zahl=number & typ=extension)
4. in section 'Zähler' select Länge=3 (Zähler=counter, Länge=length --> 001,
002, etc.)
5. in section 'Zähler' select Vornullen=Null (Vornullen=fill-up-spaces: 001,
__1, etc.)
6. select 'Umbenennen' (Umbenennen=rename)
7. Repeat 1-6 with B, C, D

The directories will look like:
directory1
A001
B001
...
directory2
A002
B002
and so on...

HTH,
Jörg
 
Ad

Advertisements

Joined
Mar 1, 2013
Messages
3
Reaction score
0
Use this software,it would be really helpful "KrojamSoft BatchRenameFiles Tool"
BatchRenameFiles.org
 
Ad

Advertisements

Joined
Aug 13, 2015
Messages
2
Reaction score
0
Well you really like to use BatchRenameFiles Tool for the required renaming purpose. Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top