Revert a File

When a Hazel rule makes certain changes to a file, you can undo them by right-clicking (or Control-clicking) the file and choosing Revert from the Finder’s contextual menu or clicking on the corresponding menu items in Hazel’s menubar icon’s menu. This can be useful for restoring files to their previous state when a rule has done something unintended, but it’s limited.

Revert  does  apply to the following actions:

  • Move

  • Rename

  • Sort into subfolder

  • Add tags

  • Remove tags

  • Set color label

  • Add comment

  • Toggle extension

  • Toggle lock

  • Archive

  • Unarchive

However, it does  not  apply to any other action, such as Copy, Sync, Upload, Make alias, Import into Music/Photos/TV, or running automations.

SEE ALSO

Understand the Logic of Rules

Enable, Disable, or Pause Rules

Run Rules Manually