You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've found that the time sorting feature isn't consistent.
It seems to sort differently on each execution of the command - for files which were last modified at the same time.
I've noticed it while using the command 'watch'.
The command I ran:
watch -n0.1 'exa -mbghHla --SORT=time |tail'
I tried to.execute the same command but this time I used 'ls' and it worked flawlessly.
(The ls command - watch -n0.1 'ls -ltr | tail')
The text was updated successfully, but these errors were encountered:
tuxiqae
changed the title
Sorting by time is not consistent
Sorting by time is inconsistent
Aug 29, 2018
It looks like exa is using the mtime metadata field, which gets rounded down to the nearest second, rather than the mtime_nsec, which has more precision. So when exa sorts the output, it tries to sort your files by a bunch of identical timestamps, and does not sort them any further than that. (Not sure why it’s doing this — I probably just used the wrong function by mistake)
Hi, I've found that the time sorting feature isn't consistent.
It seems to sort differently on each execution of the command - for files which were last modified at the same time.
I've noticed it while using the command 'watch'.
The command I ran:
watch -n0.1 'exa -mbghHla --SORT=time |tail'
I tried to.execute the same command but this time I used 'ls' and it worked flawlessly.
(The ls command - watch -n0.1 'ls -ltr | tail')
The text was updated successfully, but these errors were encountered: