Get File Attribute Action
The Get File Attribute action returns the specified attribute for the specified file to a Variable.
Click the File Chooser button to the right of the action to select an existing file on disk. Option-click on the File Chooser button to show the currently selected file in the Finder (assuming it exists already).
The result of the action is displayed at the bottom of the action.
File attributes available
Addition File Attributes
There are several more attributes available using the Filter Action.
Get or delete the last path component or the path extension.
Get the basename of the path (ie the name without directory or extension).
Expand Path to full page, replacing tilde (~) in the path.
Resolve symlinks, or standardize the path.