![]() |
Class Set Definition File Syntax |
sort on property-list
Controls the order in which the advanced optimization algorithm tries to arrange files on the disk. The following properties are supported:
Property | Effect |
---|---|
name | Files are ordered according to name. |
id | Files are ordered according to their node IDs within the volume catalog. |
size | Files are ordered according to their data fork size, if they have a data fork, or their resource fork size otherwise. |
data fork size | Files are ordered according to the size of their data forks. |
resource fork size | Files are ordered according to the size of their resource forks. |
creator | Files are ordered by creator. |
type | Files are ordered by type. |
content modification date | Files are ordered by the date their contents were last modified. |
attribute modification date | Files are ordered by the date their attributes where last modified. |
access date | Files are ordered by the date they were last accessed. |
creation date | Files are ordered by the date they were created. |
backup date | Files are ordered by the date they were last backed-up. |
owner | Files are ordered by the UID of their owner. |
group | Files are ordered by the GID of their group. |
mode | Files are ordered by their BSD mode flags. |
admin flags | Files are ordered by their administrative flags. |
owner flags | Files are ordered by their owner flags. |
containing folder | Files are ordered by the catalog node ID of their containing folder. |
Note that this keyword is ignored by all other defragmentation algorithms.
// Sort application files into some sort of order
class "Applications" {
match files where file is within "/Applications"
color "#ffff00"
sort on containing folder, name
}