This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
action:Get_File_Attribute [2019/07/08 04:47] peternlewis |
action:Get_File_Attribute [2023/09/18 04:15] peternlewis [File attributes available] |
||
---|---|---|---|
Line 11: | Line 11: | ||
===== File attributes available ===== | ===== File attributes available ===== | ||
- | *file type (r/o). | + | {{page>include:GettableFileAttributes#}} |
- | *file size (r/o) in bytes. | + | |
- | *creation date. | + | |
- | *modification date. | + | |
- | *added date. | + | |
- | *last used date. | + | |
- | *downloaded date. | + | |
- | *where from. | + | |
- | *owner name (r/o). | + | |
- | *owner id (r/o). | + | |
- | *group name. | + | |
- | *group id. | + | |
- | *POSIX permissions. | + | |
- | *extension hidden. | + | |
- | *invisible. | + | |
- | *HFS creator code. | + | |
- | *HFS type code. | + | |
- | *content type. | + | |
- | *content kind. | + | |
- | *tags (set, add, remove or toggle). | + | |
- | *comment. | + | |
- | *parent path (r/o). | + | |
- | *file name (r/o). | + | |
- | *base name (r/o). | + | |
- | *extension (r/o). | + | |
- | *display name (r/o, v9.0+). | + | |
===== Addition File Attributes ===== | ===== Addition File Attributes ===== | ||
- | There are several more attributes available using the [[action:Filter|Filter]] [[:Actions|Action]]. | + | There are several more attributes available using the [[action:Filter|Filter]] action. |
- | * Get or delete the last path component or the path extension. | + | * Delete the 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. | * Expand Path to full page, replacing tilde (~) in the path. | ||
* Resolve symlinks, or standardize the path. | * Resolve symlinks, or standardize the path. | ||
Line 89: | Line 63: | ||
==== Actions ==== | ==== Actions ==== | ||
- | * [[action:Set File Attribute|Set File Attribute]] | + | * [[Set File Attribute]] |
- | * [[action:Filter|Filter]] | + | * [[Filter]] |
* [[:Actions|See all Actions]] | * [[:Actions|See all Actions]] | ||
+ | |||
+ | === Conditions === | ||
+ | |||
+ | * [[condition:File_Attribute|File Attribute]] | ||
+ | * [[condition:Path|Path]] | ||
+ | * [[:Conditions|See all Conditions]] | ||
==== Forum ==== | ==== Forum ==== |