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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top