SortByLastChange

MyDefrag

FileActions - SortByLastChange

Place the selected items and sort by the time they were last changed, from oldest to newest ("ascending") or from newest to oldest ("descending").
  • The last-changed date can be older than the creation date, for example when a file was downloaded, or unpacked from an archive (such as zip or arj).
  • This action will also defragment. It is therefore not necessary to combine it with the  *  Defragment action.
  • This action will create "wrap around" fragments. For more information see the  *  IgnoreWrapAroundFragmentation setting.

Syntax

SortByLastChange(OPTIONS)

The OPTIONS are a space-separated list of these keywords:
 *  Ascending
 *  Descending
 *  SkipBlock

Example

FileSelect
  ....
FileActions
  # Sort the items by LastChange time, most recently accesses items first.
  SortByLastChange(Descending)
FileEnd

See also:

 *  FileSelect
 *  FileBoolean
 *  FileActions