Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Automator sequential renaming... Why reversed?

Hi guys and gals,

I have a flaw in my automator workflow and NO clue where the mistake is...

I have all kind of different files which I would like to clean up and always have the same file hierarchy.

So here is what we have at the beginning:

25 files in a folder sequentially correct with formatting roughly like this:

ALH.p1e1dma
ALH.p1e2alf
ALH.p1e3kyz

and so on...

All in sequence but with different names, if I sort them by Name in the list view, everything is correct it just doesn't look very nice.

I wrote a workflow with these parameters:

1. Get specified Finder items (drag and drop the files), with them sequentially in the correct order
2. Make Finder Item Names Sequential
new name Project Alpha p1eX
start numbers at 1
etc.

My example output text is correct (Project Alpha p1e1) BUT for whatever reason the last file in my list (e25) is now in the correct format but as file number 1 instead of 25!!! This is for all files soo 2 is 24 and 24 is 2.....

This logically is exactly reverse from what I need it to be and a LOT worse since now the title isn't what the file contains! ;(
If I have to choose I'd rather be thought of as a bad file namer than a person who messes up the order of the files and as such ruins solid work.

I've tried reversing my name list so 25 is on the top but still the end result is wrong.

I need to maybe point out that the date stamps on the files are all over the place and certainly not sequential.

Any clues as to why it is doing this and where my error is?

Thanks,

Phillyman

Message was edited by: Phillyman clarified file naming

macbook, Mac OS X (10.6.3), imac 20 inch and macbook (metal)

Posted on Apr 7, 2010 1:58 AM

Reply
Question marked as Best reply

Posted on Apr 7, 2010 6:18 AM

I'm guessing (from lack of detail) that you're dragging-and-dropping from the list view of a Finder window. I don't know why, but that is very problematic. It seems like a good idea since you can click on the headers to sort the files first. Unfortunately, that order is not retained when dropped into Automator.

Best to drag from the column view of a Finder window to the Automator action. Tip: just dropping some files into a blank area of the workflow will automatically add the action with those files.

Once you have the files in the Get Finder Items action, then you can reorder them by dragging them up or down within the action.
4 replies
Question marked as Best reply

Apr 7, 2010 6:18 AM in response to Phillyman

I'm guessing (from lack of detail) that you're dragging-and-dropping from the list view of a Finder window. I don't know why, but that is very problematic. It seems like a good idea since you can click on the headers to sort the files first. Unfortunately, that order is not retained when dropped into Automator.

Best to drag from the column view of a Finder window to the Automator action. Tip: just dropping some files into a blank area of the workflow will automatically add the action with those files.

Once you have the files in the Get Finder Items action, then you can reorder them by dragging them up or down within the action.

Automator sequential renaming... Why reversed?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.