PC Review


Reply
Thread Tools Rate Thread

Batch rename files in different directories?

 
 
Jack
Guest
Posts: n/a
 
      4th Jul 2004
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

 
Reply With Quote
 
 
 
 
null@zilch.com
Guest
Posts: n/a
 
      4th Jul 2004
On Sat, 03 Jul 2004 16:05:06 -0700, Jack <(E-Mail Removed)> wrote:

>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
 
Reply With Quote
 
Tim Weaver
Guest
Posts: n/a
 
      4th Jul 2004
Jack wrote:

> 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/VA014...lish/FlexRena/
--
Tim Weaver
 
Reply With Quote
 
Jörg Schneider
Guest
Posts: n/a
 
      4th Jul 2004
Jack wrote:
> 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





 
Reply With Quote
 
Jack
Guest
Posts: n/a
 
      4th Jul 2004


Tim Weaver wrote:

Thanks, Tim, I'll give it a try.

Jack

> 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/VA014...lish/FlexRena/


 
Reply With Quote
 
Jack
Guest
Posts: n/a
 
      4th Jul 2004
THANKS, Jörg, for the translation efforts. My German is very weak. Your
instructions worked very well indeed!

Jack


Jörg Schneider wrote:
> Jack wrote:
>
>>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
>
>
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch rename files within sub folders? mark Windows XP General 2 1st Oct 2005 10:15 AM
How can I automatically rename a whole batch of word files? =?Utf-8?B?Y2F0bWFuYmFsb28=?= Microsoft Word Document Management 1 24th Mar 2005 10:27 PM
rename a batch of files Blankman Windows XP General 8 31st Aug 2004 01:40 PM
Rename Batch of Files in VBA Darren Hill Microsoft Excel Programming 10 4th Dec 2003 08:31 AM
How to rename selected files including sub-directories Tom Lavedas Microsoft Windows 2000 CMD Promt 1 14th Aug 2003 10:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:23 PM.