Create an applescript / automator workflow that excludes certain file names [closed]

StackOverflow https://stackoverflow.com/questions/18325055

  •  25-06-2022
  •  | 
  •  

Вопрос

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