Attributes & Actions

This group of topics provides extensive coverage of all the attributes used in rule conditions and all the actions Hazel can apply when conditions match:

- Attribute Reference : A list of all the attributes Hazel supports for rule conditions, with explanations of each one. Subtopics:

- Using Match Patterns in Conditions : Some conditions let you create patterns of text, numbers, dates, and so on. This page describes how to edit them.

- Using Custom Attributes : If Hazel’s built-in attributes don’t meet your needs, you can create your own custom text or date attributes.

- Action Reference : A list of all the actions Hazel supports, with explanations of each one. Subtopics:

- Copying Folder Structure : Some actions can copy or move an entire folder; this page describes your options for maintaining the folder structure at the destination.

- Specifying Upload Options : This page describes options for uploading files via FTP, SFTP, or WebDAV.

- Using Patterns in Actions : Just as a condition can include a user-defined pattern, so can an action (such as “Rename” or “Add comment”). Subtopics:

- Using the Counter Attribute : Rule actions can number files or folders sequentially with Hazel’s flexible counter attribute.

- Editing Date Patterns : Certain actions can use date attributes, and Hazel lets you format these dates in any way you like.

- Using AppleScript or JavaScript : You can use AppleScript or JavaScript to create conditions or actions used in Hazel rules. This page provides an overview.

- Using Automator : Hazel actions can trigger Automator workflows, as described on this page.

- Using Shell Scripts : Shell scripts can provide both conditions and actions for Hazel rules.