Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to rename selected files in the finder sequentially. To do this I have created an Automator workflow.

In the Automator workflow you can specify how many digits long you want the rename to be I.e. 3 = 001, 002 etc...

I would like this number to be inferred from the number of files selected.

Is this possible?

Thanks for any help!


share|improve this question
As far as I know, you can't do this with Automator's drag & drop components, but you could do it with an AppleScript. – Nathan Greenstein Jan 2 '12 at 3:50
Ben, would a shell script (callable from Terminal or Automator) be a valid alternative for you? – patrix Jan 2 '12 at 11:52
Thanks for the comments. Either an AppleScript or shell script would work great - I'll get on this at some point and post it. I just wanted to know whether I was missing something like a variable that I could use in the automator UI. Thanks again. – Ben Hinman Jan 7 '12 at 17:35
up vote 1 down vote accepted

This is not possible with Automator. You can only specify the number of digits manually.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.