Author Topic: Alphabetical order  (Read 4168 times)

Offline Luiz Muzzi

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • Luiz Muzzi Photography
Alphabetical order
« on: December 30, 2011, 05:14:53 AM »
Hi, everybody
I have a folder with about 500 files named like this:
Name-{year4}_{month0}_{day0}-{seqn} where the sequence goes from 001 to 500.
Now, I have a client who wants to receive the files in alphabetical order. I would like to rename the files in such a way that 001 corresponds to aaa, 002 corresponds to aba, etc (in a strict alphabetical order).
Is there a way I can do it in PM, i.e., rename the files using an alphabetical order?
TIA

-Luiz Muzzi

Offline Sven

  • Uber Member
  • ******
  • Posts: 1052
    • View Profile
Re: Alphabetical order
« Reply #1 on: December 30, 2011, 05:50:25 AM »
Hi!
If it is not possible with PM you can go for this piece of MAC-Software: http://www.publicspace.net/ABetterFinderRename/index.html
It supports Numerical and Alphabetical Sequences...

A Windows version is also available. (http://www.publicspace.net/windows/BetterFileRename/index.html)

HTH
Sven
After 5 years of absence I restarted the photography.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24756
    • View Profile
    • Camera Bits, Inc.
Re: Alphabetical order
« Reply #2 on: December 30, 2011, 07:09:41 AM »
Luiz,

Hi, everybody
I have a folder with about 500 files named like this:
Name-{year4}_{month0}_{day0}-{seqn} where the sequence goes from 001 to 500.
Now, I have a client who wants to receive the files in alphabetical order. I would like to rename the files in such a way that 001 corresponds to aaa, 002 corresponds to aba, etc (in a strict alphabetical order).
Is there a way I can do it in PM, i.e., rename the files using an alphabetical order?

Yes, but it wouldn't be easy/simple.  You could use Code Replacement where you pre-generate your mapping from 001 -> aaa like so:

001[tab]aaa
002[tab]aba
...
500[tab]zzz

Sven's suggestion may be better/easier.

-Kirk

Offline Luiz Muzzi

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • Luiz Muzzi Photography
Re: Alphabetical order
« Reply #3 on: December 30, 2011, 10:52:20 AM »
Thanks for the tip, Sven. I'll give it a try.
Thanks Kirk for the quick reply.
Regards,

-Luiz Muzzi