Author Topic: Make spaces hypens when renaming  (Read 3288 times)

Offline davidgordon

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • davidgordon.co.uk
Make spaces hypens when renaming
« on: April 27, 2009, 09:48:05 AM »
I need to rename some files from "ABC12345.JPG" to "Descriptive-Word-ABC12345.JPG". The descriptive words are variable so I want to use the IPTC Headline to create the new file name using a batch rename. Easy enough.

However, I don't want spaces in the file name. How can I rename files and change any spaces in the Headline to became dashes or hyphens ("-") in the file name?

Using PM 4.5.4 on a Mac.

Thanks

DG

Offline davidgordon

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • davidgordon.co.uk
Re: Make spaces hypens when renaming
« Reply #1 on: April 27, 2009, 11:41:39 AM »
I can do this in Lightroom with the preferences set to make spaces in the file name into hyphens. I'd still rather work in PM for this though...

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25056
    • View Profile
    • Camera Bits, Inc.
Re: Make spaces hypens when renaming
« Reply #2 on: April 27, 2009, 12:14:03 PM »
David,

I need to rename some files from "ABC12345.JPG" to "Descriptive-Word-ABC12345.JPG". The descriptive words are variable so I want to use the IPTC Headline to create the new file name using a batch rename. Easy enough.

However, I don't want spaces in the file name. How can I rename files and change any spaces in the Headline to became dashes or hyphens ("-") in the file name?

Using PM 4.5.4 on a Mac.

There is currently no way to do this in Photo Mechanic.

-Kirk

Offline vAfotoriporter

  • Uber Member
  • ******
  • Posts: 1046
    • View Profile
    • Attila Volgyi photojournalist
Re: Make spaces hypens when renaming
« Reply #3 on: April 27, 2009, 09:49:01 PM »
This could be a handy addition to PM since it is rarely supported to have commas or spaces in filenames, but using variables in filenames (and in pahts as well) is one of the strengths of PM we love it for.
Working on Mac, OSX, iOS and with some Canons.
Allways shooting RAW.

http://www.volgyiattila.hu