Question

I want to make an automator folder action that excludes file names with certain words in them, eg:

move all files to /folder x except those containing the words "Screen Shot"

The actual actions work fine I just need the script or automator actions to exclude the files.

Was it helpful?

Solution

You should be able to use “Filter Finder Items” and set the criteria to be “None of the following are true”: “Name contains Screen Shot”. I just did a quick test with “Choose a Folder”, “Get Folder Contents” and then “Filter Finder Items” and the Results contain only files that do not contain the word I specified.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top