Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top