Automator service to copy a file to new location, rename, and move back

Discussion in 'Automator' started by betaclone, Jun 8, 2018.

  1. betaclone

    betaclone New Member

    Jun 8, 2018
    Likes Received:
    I'm trying to create an Automator service to take a selected file, move it to the parent folder, replace specific text in the file name, and move back into the original folder overwriting an identically named file there.

    For clarification, folder shot_10 has the following files in it:

    I want to select, move it to the parent folder, rename it, and then move it back, overwriting the _CURRENT file in the original folder. I realize there might be other ways of achieving the same final file structure, but because of some specifics in my workflow it needs to be this exact sequence. Basically, I need to replace the _CURRENT file with the latest version without first deleting the one that exists. Any suggestions?
    betaclone, Jun 8, 2018
    1. Advertisements

  2. betaclone

    Cory Cooper Moderator

    May 19, 2004
    Likes Received:
    Hello and welcome,

    I am not very experienced with Automator/AppleScript, but the folks over at MacScripter may be able to help.

    Cory Cooper, Jun 9, 2018
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.