Exa: Incompatible argument: -t

Created on 21 Sep 2017  路  8Comments  路  Source: ogham/exa

ls -lrt give you a sorted list with the oldest file last.

The same arguments in exa produces this:

$ exa -lrt
Argument to option 't' missing.

What exa arguments will produce the same result?

All 8 comments

I believe you want exa -lrs modified or exa -lr --sort=modified

As for "short" sort options, I had mentioned them here: #144, but the issue was closed...

OK, gotta retrain the muscle memory then ;-)

In #284 (out soon) I added a hint for this case, since it's such a common ls command. The hint looks like this, and refers to newest, which is modified backwards:

Pasted Image 1.tiff

(ignore that it's called dexa, that's an alias)

Will there be any improvement to this, or do i just have to alias exa -ltr to exa -ls modified, since I use the command quite a bit.

Also why is the sorting order reversed of ls -lt compared to exa -ls modified? with the ls command putting the newest items at the top, and the exa command putting the newest items at the bottom?

Please default -t to modified,this is pretty important imo. I've been typing out "ls -lhtra" for like 16 years and I can't change now.

Now you can do exa -lsnew and exa -lsold and that works pretty well i find

Whatever, I'll be going back to standard ls. There's no need to break everyone's pre-existing workflow, and force people to switch between syntax while on different systems where exa is not installed. Expect this to be a common and repeated request by many individuals. I've seen no one explain why compatibility must be broken.

Good luck with your project, everyone.

While i will be sticking with exa i'm also curious about the design decisions. Mixing single letter arguments and words, like we do here with l and new is quite novel to me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

theduke picture theduke  路  3Comments

s-hamann picture s-hamann  路  5Comments

skyzyx picture skyzyx  路  4Comments

photex picture photex  路  4Comments

huxi picture huxi  路  3Comments