Batch renaming folders and sub-folders

Page 1 of 2 12 LastLast

  1. Posts : 288
    Windows 7 64-bit
       #1

    Batch renaming folders and sub-folders


    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


  2. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #2

    You can do it in Irfanview. Heres a couple of tutorials.

    Batch

    Rename a Series of Files With IrfanView
      My Computer


  3. Posts : 288
    Windows 7 64-bit
    Thread Starter
       #3

    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


  4. Posts : 288
    Windows 7 64-bit
    Thread Starter
       #4

    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


  5. Posts : 1,170
    XP Pro SP3 X86 / Win7 Pro X86
       #5

    imacken said:
    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


  6. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #6

    You could use a 3rd party app like renamer. See this page.

    How do I ... use ReNamer to batch rename files? | Microsoft Windows | TechRepublic.com
      My Computer


  7. Posts : 288
    Windows 7 64-bit
    Thread Starter
       #7

    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


  8. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #8

    try this.
      My Computer


  9. Posts : 1,170
    XP Pro SP3 X86 / Win7 Pro X86
       #9

    imacken said:
    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


  10. Posts : 288
    Windows 7 64-bit
    Thread Starter
       #10

    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


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:44.
Find Us