RENAME FINDER ITEMS

- I am using the function RENAME FINDER ITEMS to rename hundreds of files. It is possible to use wild chars in the FIND field ?
- All my file names start with date (example: 2010-04-10 xxxx.yyy) and i want to rename it to xxxx.yyy.
thank you,
Paulo

I don't think Automator can do this task for you. Consider Name Mangler instead: http://manytricks.com/namemangler/.

Similar Messages

  • Rename Finder Items from Automator doesn't work correctly!

    I made a rename finder items in Mac OS X 10.4 by just using rename finder items task and save as a plug in for finder. It was working fine. I tried to use it in 10.5, but it doesn't really change the names. I created a new one or even tried to modify the workflow, but it still not working. Can someone verify the issue? Thank you.

    I can verify the issue, but I have no solution. Very frustrating, as I used to batch rename all the time in just the same way.

  • Rename Finder Items with Automator in Leopard

    I used following automator actions to rename all files contained in selected folders in Mac OS finder:
    1. Get Selected Finder Items
    2. Get Folder Contents (repeat for each subfolder found option on)
    3. Rename Finder Items (Add Text before name, Show action option on)
    First two actions were executed flawlessly. Unfortunately after keying in text to be added in front of every file name in text field of popup window on execution of last action, no file name was changed. Then I realized that same actions performed in automator application instead of invoking through Finder's contextual menu worked as expected. So the problem seem to be related to initialization of text value in text field of the action.
    I decided to try with new variable feature introduced in Leopard version of automator. Clicking on Variables button next to Actions button in menu bar of Automator, then select following item:
    Library > Text & Data > New Storage
    I managed to provide a text value for the New Storage variable through "Library > Text > Ask for Text" and "Library > Utilities > Set Value of Variable" actions, but text field in Rename Finder Items action seem to reject the New Storage variable completely. So the attempt to provide text value to the Rename Finder Items action through user initialized variable failed without reason.
    May I know how can I make use of variables to set text fields in Rename Finder Items action ? Is the above mentioned failure a confirmed bug of Leopard waiting to be fixed by Apple (after one whole year of beta testing !!) ? Thanks in advance.

    I figured out a way to use variables in the Rename Finder Items.
    In my case I want to rename the files to a sequential name. I can't link the variable to the "New Name" box in the Automater GUI.
    But it helps to know that that the Automator is just creating an XML file and you can edit this directly.
    To do this, create the Automator workflow and save it. Give the variable some distinct name like "myVariable".
    In Finder, right click the Automator file and select Show Package Contents. Within this folder go to Contents and find the document.wflow file. This is the XML file, so open it with TextEdit or something.
    Search the file for your variable name. The first instance of it should be in a section that starts with <key>variables</key>. All the variables will be listed here. Each variable has several lines to define it. The first will be the UUID. The UUID will have a line that is something like: <string>BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E</string>. The BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E is how Automator refers to your variable. Search the file for this UUID string and you will see. Whenever Automator wants to insert the variable, it will enter $(BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E).
    Copy this string, with the $() surrounding it. Close the wflow file. Now you can go back to Automator itself and paste it wherever you want your variable to appear, even if you can't normally insert the variable into that field.

  • Workflow and/ or script to rename finder items using a .txt or a .csv file as a reference?

    Can someone assist me, I am looking for a workflow and/ or script that would allow me to rename finder items using a .txt or a .csv file as a reference for the new naming convention?

    THANK YOU!!!! 
    I have taken your recommendation and enabled the script menubar item.  I also tweeked the script as you recommended, I will play with both options to see which I prefer.   I thank you again for the quick turn around on this. 
    If I am to understand your comment correctly about placing the .csv file in the same folder as the files to be renamed I should modify the script as such.
    REMOVE:    
                        set csvFile to choose file with prompt "Select the CSV file." of type "public.text"
                        set workingFolder to (choose folder "Select the folder to be processed") as text
                        set fileList to (POSIX path of (files of folder workingFolder whose visible is true and name begins with "untitled"))
    REPLACE WITH:     
                        set csvList to paragraphs of (read "/path/to/csvfile.csv")
                          set fileList to (POSIX path of (files of folder "/pah/to/folder" whose visible is true andname begins with "untitled"))
    After reading this and attempting to modify it I am missing one piece of markup or the arrangement of the markup.
    Please find the modified script with options:
    -- change this to specify the correct csv delimiter
    set splitDelimiter to ","
    -- change this to specify the file name join character
    set recombineDelimiter to "_"
    -- choose the csv file
    set csvFile to choose file with prompt "Select the CSV file." of type "public.text"
    -- choose the folder
    set workingFolder to (choose folder "Select the folder to be processed") as text
    -- csv contents as list
    set csvList to paragraphs of (read csvFile)
    --set csvList to paragraphs of (read "/path/to/csvfile.csv")
    tell application "System Events"
    -- list of files in alphabetical order
         set fileList to (POSIX path of (files of folder workingFolder whose visible is true and name begins with "untitled"))
      -- set fileList to (POSIX path of (files of folder "/path/to/folder" whose visible is true and name begins with "untitled"))
         repeat with i from 1 to count of fileList
    -- get a file from the file list and note its extension
              set currentFile to file (item i of fileList)
              set fileExtension to name extension of currentFile
    -- get a line from the csv list, split it at the delimiter,  and recombine it
              set {oldTID, my text item delimiters} to {my text item delimiters, splitDelimiter}
              set newFileNamePieces to text items of (item i of csvList)
              set my text item delimiters to recombineDelimiter
              set newFileName to newFileNamePieces as text
              set my text item delimiters to oldTID
    -- write the new name back out to the file
              set name of currentFile to (newFileName & "." & fileExtension)
         end repeat
    end tell

  • Rename finder item withouth user to choose find string.

    Hi,
    I've built an automator workflow in wich I create a standard folder /w subfolders. Automator then renames the folders, by rename finder item with replace text.
    The new name is a projectname an user can give in. But I don't want the user to change the find string. Is there a way to work this out?
    I've tried to do an ask for text, but I don't know to how I can put the result into the replace field?
    Thx,
    Marlon
    Powerbook G4 (1Ghz)   Mac OS X (10.3)  

    I figured out a way to use variables in the Rename Finder Items.
    In my case I want to rename the files to a sequential name. I can't link the variable to the "New Name" box in the Automater GUI.
    But it helps to know that that the Automator is just creating an XML file and you can edit this directly.
    To do this, create the Automator workflow and save it. Give the variable some distinct name like "myVariable".
    In Finder, right click the Automator file and select Show Package Contents. Within this folder go to Contents and find the document.wflow file. This is the XML file, so open it with TextEdit or something.
    Search the file for your variable name. The first instance of it should be in a section that starts with <key>variables</key>. All the variables will be listed here. Each variable has several lines to define it. The first will be the UUID. The UUID will have a line that is something like: <string>BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E</string>. The BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E is how Automator refers to your variable. Search the file for this UUID string and you will see. Whenever Automator wants to insert the variable, it will enter $(BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E).
    Copy this string, with the $() surrounding it. Close the wflow file. Now you can go back to Automator itself and paste it wherever you want your variable to appear, even if you can't normally insert the variable into that field.

  • How to display the current name when renaming Finder item

    Is there any way to get Automator to display the current name of a Finder item when renaming an item?
    I want my users to be able to copy and rename a folder template but I want to display the folder template's current name as a default in the renaming dialogue window, so the user follows the correct naming format.

    Since you've already hacked into it, if you've got developer tools installed, it is most likely in the nib file that is in the English project folder in the Resources.
    I don't know what further implications that will have on the app in general, though.
    If you are a little adept at applescript, you may want to create your own Applescript Studio app to do this instead of Automator. Also, take a look at Platypus to make a wrapper around you applescript instead of AS Studio.
    Message was edited by: Barney-15E

  • Automator Rename Finder Items NOT working in Leopard

    I used to be able to Replace Text in filenames, as you would expect with Automator, now my old or new Automator actions don't work for this, whether I run them as a Finder plugin or from the Automator Run button...
    Anyone else have this problem, or better yet success?

    The real problem here is, why does the Finder have to be so ********! Why all this trouble just to change filenames?!?! Why use automator to do something so simple?!?! I have to use but I hate it!
    Please, despite all the Windows problems and faults (and I hate Windows and love Mac), they have a better file manager then we do, because the explorer is a good tool unlike the finder! Why can't we just choose the items and do some "rename" option, or just select all, press "enter" and write what we want (doing a sequential rename by default).
    Come on, if windows explorer can do this, why can't we?!?!?
    The automator should be used to more advanced stuff, not to just simply rename items...

  • "Ask for Finder Items" Automator action broken?

    OK, I'm pulling my hair out on Automator (again). I'm on OS X Lion 10.7.1.
    Here's what I want to do: I have image files named "something-something (S1).png" and I want to create a copy of each file named "something-something (S2).png" then resize that copy to 50% the size of the original. A perfect choice for Automator, I would have thought.
    So here's the workflow I came up with:
    1. Ask for Finder Items: Type set to Files and Allow Multiple Selection checked.
    2. Duplicate Finder Items: To create a copy, hopefully named "something-something (S1) copy.png".
    3. Rename Finder Items: Set to Replace Text, with Find set to "(S1) copy" and Replace set to "(S2)" (in basename only).
    4. Scale Images: Set to By Percentage 50.
    I would have thought that would have worked. Trouble is, it doesnt even get to first base. When I run the workflow I see the expected choose file dialog, and I choose a test PNG file. Then Automator happily announces that "Ask for Finder Items completed" in the log, and proceeds to sit .. and sit ... and sit. It says it's running, but nothing is happening. No duplicate file action happens, no rename .. nothing. Oh, and yes, I do see the selected filename in the "Results" area for the Ask for Finder Items action.
    What's going on? Any ideas? For a supposedly intuitive tool I find automator inscrutable (and I'm a 30 year seasoned operating system oftware developer).
    TIA,
    --Tim

    FWIW, if you've found a bug, please contact Apple Support folks or (if you have access) use the BugReport tool. 
    (This is a user forum, and the Apple Engineering folks may or may not see any reports that are posted here.)

  • Automator - how reset Finder Items?

    I want to to defrag a big file, so I have thought to copy the file in an external disk, than rename the file in external disk and copy to directory in which there is the file to defrag.
    Than revert to the original name the file in the external disk.
    In this way I have a copy of the file in external disk and the original file and the file copied in HD.
    I do that to avoid failure of external Hard Disk that could have the result to destroy the original file if this happen during the copy from external to internal HD.
    I have made a workflow that do this:
    1) Get Specified Finder Items (pictures/file)
    2) Copy Finder Items (to DK1)
    3) Rename Finder Items (DK1/file to DK1/filecopy)
    4) Copy Finder Items (to pictures)
    5) Get Specified Finder Item (DK1/filecopy)
    6) Rename Finder Items (DK1/filecopy to DK1/file)
    The problem is that in the 5 step the item passed to the 6 step are two (pictures/filecopy and DK1/filecopy).
    I want only DK1/filecopy.
    I have seen that Item passed to various step are:
    1) Get Specified Finder Items (pictures/file) >>passed picture/file
    2) Copy Finder Items (to DK1) >>passed DK1/file
    3) Rename Finder Items (DK1/file to DK1/filecopy) >>passed DK1/filecopied
    4) Copy Finder Items (to pictures) >>passed pictures/filecopied
    5) Get Specified Finder Item (DK1/filecopy) >>passed two pictures/filecopied and DK1/filecopied
    6) Rename Finder Items (DK1/filecopy to DK1/file) >> in error
    I have have tried to make two workflow one with the step from 1 to 4 and another with the step 5 and 6.
    If they run separately all is ok, but if they run in a single workflow (that is made with the step from 1 to 4 and the 5 step that recall the second workflow) happen the same thing that I have described before.

    Stanley Horwitz wrote:
    I have been working with Macs since 1986 and in the IT industry full time since about the same time and I honestly have no clue what you are attempting to do. What does "defrag a file" mean and why do you want to do that?
    I want to copy a file to an external device, so system, copying file, write this without fragmentation, and then copy to original location.
    In this way the result is to have the file unfragmented.
    If you want to defrag your disk, by far the easiest and quickest way to do that is to take another disk drive that's as big or bigger in capacity as the disk you want to defrag, then format that disk, then simply use your favorite disk cloning tool to copy the contents of the disk you want to defrag to the other disk. The copying process to a newly formatted disk will write the data in an optimum manner onto the disk without any fragmentation on the destination disk. You can then, if you so desire, reverse the process and clone the cloned drive back to the original drive and you will end up with two defragmented disks with the same data on them. The biggest benefit to this strategy is that you get a complete backup of the contents of the disk.
    OK, but I only want defrag 1 file, not all the disk.
    If You see, I want the same manner that You suggest for the entire disk, applied only to 1 file.
    There are also several utilities that will do disk defragmentation such as TechTool Pro and Disk Warrior. I think though that in all but the most extreme cases, it is a wast of time to use those utilities to defragment a disk. In fact, in most cases that I have seen on home Macs, the benefits of defragmentation are minimal at best, which is why I suggest simply doing a backup of the disk to another disk, because the big benefit there is that you have a fresh backup which is far more important in most cases than defragmenting a disk.
    OK, I don't want defrag utilities, because I am not confident in the process.
    For backup I use regularly Time Machine on two external disks.
    All the matter is only to know if there is a manner to tell Automator wich is the file to use during the workflow.
    Thanks.

  • Capitalized finder item with automator

    I've quite a lot of items on the finder that I want to quickly capitalize the name of it,
    how can I do that with automator?

    I figured out a way to use variables in the Rename Finder Items.
    In my case I want to rename the files to a sequential name. I can't link the variable to the "New Name" box in the Automater GUI.
    But it helps to know that that the Automator is just creating an XML file and you can edit this directly.
    To do this, create the Automator workflow and save it. Give the variable some distinct name like "myVariable".
    In Finder, right click the Automator file and select Show Package Contents. Within this folder go to Contents and find the document.wflow file. This is the XML file, so open it with TextEdit or something.
    Search the file for your variable name. The first instance of it should be in a section that starts with <key>variables</key>. All the variables will be listed here. Each variable has several lines to define it. The first will be the UUID. The UUID will have a line that is something like: <string>BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E</string>. The BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E is how Automator refers to your variable. Search the file for this UUID string and you will see. Whenever Automator wants to insert the variable, it will enter $(BD464B7A-ACDE-4A63-B595-FAF1DA6DE26E).
    Copy this string, with the $() surrounding it. Close the wflow file. Now you can go back to Automator itself and paste it wherever you want your variable to appear, even if you can't normally insert the variable into that field.

  • Quickest way to rename multiple items

    Hi I'm looking for the quickest way to rename multiple items in a folder.
    Thank you for helping

    molo wrote:
    Hi can you tell me how to set the automator service for renaming, thank you.
    start automator. it will give you a pulldown scrren where you choose what kind of workflow to make.choose "Service". at the top set it to receive files or folders and be available in Finder. add just one acton to the workflow
    1. rename finder items.
    at the bottom of the action click on "options" and check the box "show this action when the workflow runs". save the workflow. it will now be available in the right-click menu in finder.

  • "You do not have sufficient access priveleges to rename the item"

    Hi All,
    I have a strange problem that has appeared over the last few weeks. I can no longer rename applications, and also have noticed that I am being asked for my admin password to allow for certain tasks that I was not prompted for previously.
    For example, I had previously named the application "Cyberduck.app" to "FTP Cyberduck.app" with no problems. If I now attempt to rename the same application (or any other for that matter), I receive the message "You do not have sufficient access priveleges to rename the item".
    I have tried several things to resolve this issue:
    * "Disk Utility" > "Repair Disk Permissions" (from booted into the system, and also from the Mac Install CD). Either way, I see a list of permissions that have supposedly been repaired. However, I find that if I immediately run the repair again, the SAME folders and files are repaired (suggesting that they were not actually repaired first time round).
    * "Password Reset" from the Mac install disk.
    * "Repair account ACLs" from the Mac install disk.
    All to no avail. Does anyone have any ideas for me (short of reinstalling?). I'd really like to get to the bottom of this issue incase it ever happens again.
    Many thanks in advance,
    AJ

    JamesTurner84 wrote:
    I can no longer rename applications, and also have noticed that I am being asked for my admin password to allow for certain tasks that I was not prompted for previously.
    Have you done anything significant to your Mac since around the problems started, such as restoring a user with Time Machine? Do a Finder "Get Info" on your Mac's Application folder and look at the "Sharing & Permissions" sections. Mine shows "system: Read & Write, admin: Read & Write, and everyone Read only". What do you see? Do the same thing to the Cyberduck application. What do you see for it?
    * "Disk Utility" > "Repair Disk Permissions" (from booted into the system, and also from the Mac Install CD). Either way, I see a list of permissions that have supposedly been repaired. However, I find that if I immediately run the repair again, the SAME folders and files are repaired (suggesting that they were not actually repaired first time round).
    I think that permissions repair is highly overrated as a system fixing tool. In any case, see this Apple document on type of permissions repair messages that can be ignored:
    http://support.apple.com/kb/TS1448

  • Maximum file/folder size for Copy Finder Items?

    As I mentioned in another recent post, I used Automator a while back to set up a workflow that would Get Finder Items and then Copy Finder Items. Set it up as a iCal plugin. Worked fine for a long time, but I just checked and saw that the largest of the three folders (1.8 GB) was not being completely copied. The other two folders, much smaller (20 MB or so) were fine, but several folders within that large 1.8 GB folder were being skipped. I opened the workflow, and ran it, and it came up with an error that just told me to check the workflow. Is there a maximum size on this type of workflow? Seemed to work fine before . . .

    The *Copy Finder Items* action will not make duplicate copies. If you want multiple copies of the same item, you will need to rename or duplicate the item before copying, since the copy action doesn't have an option to rename, and the duplicate action doesn't duplicate to a different location.

  • Copy Finder Items

    I have a workflow that is reading images names & pathways from a text file, and copying the images in the text file into another folder. My problem is coming with the "Copy Finder Items" action. If I have the same image that I want copied into the folder, it will only copy it once. Actually, when I run the workflow, all of the images appear in the results section of the copy finder items. However, any duplicate images are not actually in the folder that it is copied to. Is there any way to correct for this, so that I can copy an image into a folder more than one time?
    Thanks

    The *Copy Finder Items* action will not make duplicate copies. If you want multiple copies of the same item, you will need to rename or duplicate the item before copying, since the copy action doesn't have an option to rename, and the duplicate action doesn't duplicate to a different location.

  • "get specified finder items" in automator pulling more than specified

    In part of a larger workflow I copy 5 files to my iDisk. In the next step I select one of those items again using 'get specified finder items' from the same location, add a date to its name in the next step with the 'add date or times to finder item names' then finish the workflow.
    However what is happening is the 'get specified finder items' I'm using to grab the file to be renamed, is actually grabbing all 5 of the files from the previous step. Only the one is showing in the 'get specified finder items' list but it grabs all 5 anyway.
    Anyone see this before? Know a way to fix it?
    Your help as always is very much appreciated. Thank you!

    Keith Kaiser1 wrote:
    In part of a larger workflow I copy 5 files to my iDisk.
    In the next step I select one of those items again using 'get specified finder items' from the same location,
    control-click on this "get specified items" action and select "ignore input". otherwise the previous action in the workflow will pass its output as input for this one. that's what's causing the doubles.
    add a date to its name in the next step with the 'add date or times to finder item names' then finish the workflow.
    However what is happening is the 'get specified finder items' I'm using to grab the file to be renamed, is actually grabbing all 5 of the files from the previous step. Only the one is showing in the 'get specified finder items' list but it grabs all 5 anyway.
    Anyone see this before? Know a way to fix it?
    Your help as always is very much appreciated. Thank you!

Maybe you are looking for

  • Buttons in dreamweaver

    Hello! I wonder if anyone could help me with my navigations buttons... I am trying to create buttons with images I have created with photoshop in a way that tthey behave like this: "up" stage with one image, the "over" stage with another image and I

  • Payment Advice Sort Issue

    Hi All,   We are having an issue with the way the payment advices are sorted for our canadian company when running DME. We set a sort variant based on Payee name on REGUH which is ZNME1, but that field has <b>Firstname Lastname</b> so all the sort is

  • How to recover PDF files from iPad

    Just recently I had the unenviable problem of a hard disk failure on my Mac Book Pro Now after a data recovery specialist did his work, I just may have most (all?) of my data back but what was lost was folder structure and in a lot of cases filenames

  • What are these folders/files for?

    music > iTunes > Album Artwork > Cache > and then a list of fifteen folders numbered 01,02 to 15, then a further 15 and then some more and some more and then at the end of each path are some .itc files. What's it all about? Is it corrupt and should I

  • Did Anybody Use The Graphics Map?

    Hi, I want to use the graphics map but the page test_gis_with_event.htm in GRAPH_BSP_TEST standard demo bsp application doesn't show anything. You can see the screen shots following URL. [http://img228.imageshack.us/i/graphicsmapbsp.jpg/|http://img22