Table of Contents

File Attribute condition

The File Attribute condition (v11.0+) checks a file attribute to see if it has a specified value.

File Attributes Available

  • file type (Directory, Package, File, Symlink, Socket, Character Special, Block Special, or Unknown).
  • file size in bytes.
  • creation date.
  • modification date.
  • added date.
  • last used date.
  • downloaded date.
  • where from.
  • owner name.
  • owner id.
  • group name.
  • group id.
  • POSIX permissions.
  • extension hidden.
  • invisible.
  • HFS creator code.
  • HFS type code.
  • content type.
  • content kind.
  • tags.
  • comment.
  • parent path.
  • file name.
  • base name.
  • extension.
  • display name (v9.0+).

Note that content type, content kind, added date, downloaded date, where from and comment are all part of Spotlight and will not work if the directory or volume is excluded from Spotlight.

Conditions

See Also

Actions

Conditions