automator gone haywire

Discussion in 'macOS' started by hehe299792458, Dec 6, 2013.

  1. hehe299792458 macrumors 6502a


    Dec 13, 2008
    I have an automator folder action that automatically adds the date in the format of yyyy-mm-dd in front of files I put into that folder.

    However, automator has gone haywire and adds the date over and over again to the same file.

  2. MacForScience macrumors 6502


    Sep 7, 2010
    Has the script ever worked correctly?

    Just based on what you have said; I would say you did something wrong on your script. You could also try creating a new folder, and adding the action to it, and see if it is a folder corruption issue.

  3. chown33 macrumors 604

    Aug 9, 2009
    on the Western Slopes, with E. A. Poe
    Show us exactly what your script does.

    If your script renames a file and keeps it in the folder that has the folder-action, then consider what effect the renaming of a file might have. I suspect it has the same effect as moving a file into the folder, that is, the folder has a file with a new name. If a file with a new name is what triggers the folder-action, then what would be the effect of renaming a file?

    If that is indeed what's happening, you'll have to break the cycle by renaming the file while also moving it to another folder.

    Also see:

Share This Page