The following request is from the Total commander forum.
I have no idea if such a sort can currently be created by Everything
without relying on external scripts.
The request:
-Files that are newer than X days (for example, modified in the last 3 days) should always appear at the top of the file list.
-After those, all remaining files should follow the normal sorting order currently selected (by name, extension, size, date, etc.).
Special way to display file grouping
Re: Special way to display file grouping
For example:
Items changed in the last 3 days will be sorted by (descending) date. All others items come next and will be sorted by path.
==> for all items with a date modified that has changed in the last 3 days, make A equal to its date-modified value.
Note the OR ("") without any further specification. This adds all other items while leaving their A value empty.
==>
Primary sort = value for A (= date modified for the newest items; empty for the others). Newest first.
Secondary sort = by path.
Code: Select all
<<dm:<=3days A:=dm:>|> sort:A-descending;pathdm:<=3days A:=dm:Note the OR ("
|sort:A-descending;pathPrimary sort = value for A (= date modified for the newest items; empty for the others). Newest first.
Secondary sort = by path.
Re: Special way to display file grouping
Thanks, that works.
I made a suggestion based on your code in the TC forum and a link to this post.
https://www.ghisler.ch/board/viewtopic. ... 88#p476988
I made a suggestion based on your code in the TC forum and a link to this post.
https://www.ghisler.ch/board/viewtopic. ... 88#p476988