Batch renaming folders and sub-folders

imacken

New member
Power User
VIP
Local time
2:24 AM
Messages
288
The structure of my photos library is Y/Y_M/Y_M_D, e.g. 2010/2010_04/2010_04_16 for today.
I want to change all the '_' to '-'.
Does anyone know an easy way of doing this?
 

My Computer

OS
Windows 7 64-bit
CPU
Intel i7 920 @ 4GHz
Motherboard
Asus P6T Deluxe V2
Memory
6Gb
Graphics Card(s)
nVidia GTX 285
Sound Card
X-Fi Extreme Audio PCIe
Screen Resolution
1900x1200
Thanks, but I can only see how to rename files there. It's just the folders and sub-folders I need to rename.
 

My Computer

OS
Windows 7 64-bit
CPU
Intel i7 920 @ 4GHz
Motherboard
Asus P6T Deluxe V2
Memory
6Gb
Graphics Card(s)
nVidia GTX 285
Sound Card
X-Fi Extreme Audio PCIe
Screen Resolution
1900x1200
Maybe it could be done in a DOS command to copy the folders and files, then I could just delete the originals.
As an example I want to change e:\2010\2010_04\2010_04_16\img1234.jpg to e:\2010\2010-04\2010-04-16\img1234.jpg.
 

My Computer

OS
Windows 7 64-bit
CPU
Intel i7 920 @ 4GHz
Motherboard
Asus P6T Deluxe V2
Memory
6Gb
Graphics Card(s)
nVidia GTX 285
Sound Card
X-Fi Extreme Audio PCIe
Screen Resolution
1900x1200
The structure of my photos library is Y/Y_M/Y_M_D, e.g. 2010/2010_04/2010_04_16 for today.
I want to change all the '_' to '-'.
Does anyone know an easy way of doing this?

File Renamer for Windows 7 - Rename all your files, folders and shortcuts - Windows 7 Download

JoeJoe's freeware utilities - [Rename Master]

And there are dozens more... Google is your friend.

But I would also suggest that your current scheme leads to unnecessrily long pathnames... You are repeating the year 3 times, the month twice in each path. You could do it as YYYY\MM\DD and have a much simpler scheme... Today would then be 2010\04\16... But that's just a thought...
 

My Computer

Computer Manufacturer/Model Number
Homebrew
OS
XP Pro SP3 X86 / Win7 Pro X86
CPU
Amd 64 x2 4200 (2.4ghz)
Motherboard
Asus M2N-MX SE Plus
Memory
Kingston DDR2 800 2gb
Graphics Card(s)
Nvidia GF-8400
Sound Card
Realtek on Motherboard
Monitor(s) Displays
Acer x-193bw
Screen Resolution
1440 x 900
Hard Drives
Western Digital 500g
PSU
350watt In-Win
Case
In-Win
Cooling
Air
Keyboard
yes
Mouse
yes
Internet Speed
5mpbs
Other Info
Also ASRock ION 330 as HTPC (on XP).
Acer Aspire as GP netbook (on XP).
Sorry guys, I'm struggling to see how any of these can rename folders. As you say there are a zillion tools out there for file renaming, but I just can't see how to get them to work on folders.
The first process in them all is 'select files'.
 

My Computer

OS
Windows 7 64-bit
CPU
Intel i7 920 @ 4GHz
Motherboard
Asus P6T Deluxe V2
Memory
6Gb
Graphics Card(s)
nVidia GTX 285
Sound Card
X-Fi Extreme Audio PCIe
Screen Resolution
1900x1200

My Computer

Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Sorry guys, I'm struggling to see how any of these can rename folders. As you say there are a zillion tools out there for file renaming, but I just can't see how to get them to work on folders.
The first process in them all is 'select files'.

I found this... but have not tested or used it... no promises...

Fast Folder Rename v1.5 - batch folder renamer :: skyjuicesoftware.com


This one has checkboxes visible for renaming folders... again, untested...

http://www.snapfiles.com/get/flexrenamer.html
 

My Computer

Computer Manufacturer/Model Number
Homebrew
OS
XP Pro SP3 X86 / Win7 Pro X86
CPU
Amd 64 x2 4200 (2.4ghz)
Motherboard
Asus M2N-MX SE Plus
Memory
Kingston DDR2 800 2gb
Graphics Card(s)
Nvidia GF-8400
Sound Card
Realtek on Motherboard
Monitor(s) Displays
Acer x-193bw
Screen Resolution
1440 x 900
Hard Drives
Western Digital 500g
PSU
350watt In-Win
Case
In-Win
Cooling
Air
Keyboard
yes
Mouse
yes
Internet Speed
5mpbs
Other Info
Also ASRock ION 330 as HTPC (on XP).
Acer Aspire as GP netbook (on XP).
Thanks again for all your help guys.
Well, this proved to be a lot more difficult than I imagined it would be! Couldn't get most of your suggestions to work with folders, or couldn't understand the interface, e.g. BulkRenameUtility!
Others needed to be bought for sub-folders to work, etc. etc. I eventually got it done using Fast Folder Rename which is a weird bit of software that needs the files to be dropped into it to work. No real indication of that from the interface.
Anyway, it didn't handle sub-folders, so I had to drag and drop every set of folders into it from Explorer. Only about 150!

CommonTater: I don't use your suggested naming convention because it creates lots of folders with duplicate names, e.g. 16 for today, so searching is more tricky. But thanks for the suggestion anyway.
 

My Computer

OS
Windows 7 64-bit
CPU
Intel i7 920 @ 4GHz
Motherboard
Asus P6T Deluxe V2
Memory
6Gb
Graphics Card(s)
nVidia GTX 285
Sound Card
X-Fi Extreme Audio PCIe
Screen Resolution
1900x1200
CommonTater: I don't use your suggested naming convention because it creates lots of folders with duplicate names, e.g. 16 for today, so searching is more tricky. But thanks for the suggestion anyway.

Ahhh... good point.
 

My Computer

Computer Manufacturer/Model Number
Homebrew
OS
XP Pro SP3 X86 / Win7 Pro X86
CPU
Amd 64 x2 4200 (2.4ghz)
Motherboard
Asus M2N-MX SE Plus
Memory
Kingston DDR2 800 2gb
Graphics Card(s)
Nvidia GF-8400
Sound Card
Realtek on Motherboard
Monitor(s) Displays
Acer x-193bw
Screen Resolution
1440 x 900
Hard Drives
Western Digital 500g
PSU
350watt In-Win
Case
In-Win
Cooling
Air
Keyboard
yes
Mouse
yes
Internet Speed
5mpbs
Other Info
Also ASRock ION 330 as HTPC (on XP).
Acer Aspire as GP netbook (on XP).
Sorry guys, I'm struggling to see how any of these can rename folders. As you say there are a zillion tools out there for file renaming, but I just can't see how to get them to work on folders. The first process in them all is 'select files'.

I had exactly the same problem: I was looking for a piece of software which allowed me to batch rename multiple subfolders, and after a hard search I finally found it:

Features - Bulk Rename Utility

It works great and it's 32/64 bit.
 
Last edited:

My Computer

OS
Windows 7 Ultimate x64
There's an old an humble program http://rename.lupasfreeware.org/download.php
It's a practical solution. Supports copying a list of names from a text editor to change with them the folder's names.
Ask for any problem you have to get this working.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64s
Back
Top