Lightroom: Batch rename folders.

  • 3
  • Idea
  • Updated 1 month ago
I've figured out how to batch rename my files how I want them, but no way to rename folders across the board...

Or have I missed something?

R
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 384 Reply Likes

Posted 6 years ago

  • 3
Photo of Dorin Nicolaescu-Musteață

Dorin Nicolaescu-Musteață, Champion

  • 703 Posts
  • 38 Reply Likes
Why do you want to rename folders?

Changing your folder structure/scheme?
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
It's a long story. Perhaps it suffices to say that there are problems with the present naming scheme, that a new naming scheme would solve.
Photo of Dorin Nicolaescu-Musteață

Dorin Nicolaescu-Musteață, Champion

  • 703 Posts
  • 38 Reply Likes
I had to go through it some 3 years ago. Switched from a long flat list of to YYYY\YYMMDD - .

I had to do it with a complex, painful and dangerous combination of SQL queries and batch file renaming. ;)

SO, in my case I not only needed renaming, but also automated moving/restructuring.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Gotcha - thanks. I've also requested folder moving/renaming for SDK which would make restructuring/renaming folder plugins doable. Maybe Lr5 SDK.

I'm using the file renaming technique that I give John Beardy conceptual credit for, in a nutshell:

Have plugin put target filename in IPTC field, so user can rename using reglar template. A little klugy perhaps, but works just dandy...

But I guess I'll live with my folders as is until Lr5, unless I get the courage to do the SQL like you did - it can wait...

And of course there's always the one-at-a-time manual method, would take a few hours, but not days...

Cheers,
Rob
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 384 Reply Likes
For batch renaming files, consider:

http://www.robcole.com/Rob/ProductsAn...
Photo of Shaun Hill

Shaun Hill

  • 2 Posts
  • 0 Reply Likes
Hello there, it has been six years since this thread was created. I am faced with the painful task of renaming multiple folders from within Lightroom and was hoping there was a way to batch rename. I want to change the folder scheme from Pictures>Month>Date to Pictures>Month for several years. 

Please tell me that this is now possible without right clicking and manually selecting rename on EVERY folder!
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4354 Posts
  • 1596 Reply Likes
What have you got at the moment? Renaming is one-by-one, but like Robert, I'm thinking a little dragging and dropping can avoid it (although I'd reuse existing folders rather than making new ones).
Photo of Shaun Hill

Shaun Hill

  • 2 Posts
  • 0 Reply Likes
This may be the solution. Is there a way to ensure that any jpg and xmp files also get transferred at the same time without having to go into each folder and move files in Windows Explorer?
(Edited)
Photo of Robert Cullen

Robert Cullen

  • 150 Posts
  • 41 Reply Likes
If you follow my post for creating a 'new' folder that automatically moves the files- it will move all files that are referenced in the catalog (raws with xmp, & jpgs, ), but NOT any photos that are NOT in the catalog, so it could create problems for you if you do not Import (or Synchronize) all images in all folders before consolidating.
I suggest you do NOT use Windows explorer to move files, do it all in Lightroom (including any Drag&Drop actions). Re-linking the 'missing' files (if moved by Windows) would be a much bigger problem and major headache!
(Edited)
Photo of Robert Cullen

Robert Cullen

  • 157 Posts
  • 44 Reply Likes
If I understand your question- you are consolidating (or moving) all your photos from 'Day dated' individual folders into 'Month dated' single folders. Correct?

If that is so, Instead of renaming folders I would do it this way- (without debating the need to do so! Some would argue strongly against!)

1. Select all the photos within one Month. (You can select multiple 'Day' folders by holding [Ctrl] key, OR, select by using the Metadata Filters for 'Date')
2. Right-click on the {Pictures} Folder and [Create a Folder inside "Pictures"...]
3. Name the folder by the 'Month' , tick the option to [Include selected photos], [Create]


This will automatically move a 'Month' of photos into one folder, and the 'Day' folders will be empty to be removed from the catalog.
You will need to repeat this for each 'Month' however, but as simple as I can suggest.

Edit: Your dialog should show Put inside "Pictures" (I had another folder selected)
(Edited)