this post was submitted on 28 Aug 2023
81 points (94.5% liked)

Rust

5949 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

I didn't know I needed it, but what I know is that I will download it.

you are viewing a single comment's thread
view the rest of the comments
[–] guy 11 points 1 year ago* (last edited 1 year ago) (1 children)

From eza's readme, on why it's better than ls:

It uses colours to distinguish file types and metadata. It knows about symlinks, extended attributes, and Git

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

GNU ls has those features too (except knowing about Git). I'd be surprised if BSD ls doesn't at least have color support.

...not that I'm not going to check out eza and probably switch to it! But it's often worth knowing what features the GNU/BSD coreutils do or do not support...especially when comparing other tools against them.

Edit: I just checked, and this set of options works on both BSD and GNU ls, in case anyone wants better ls behavior on a system where you can't install eza for some reason:

ls -FH --color=auto

F appends sigils indicating executables, symlinks, or directories, and H follows any symlinks in the argument list.

[–] [email protected] 3 points 1 year ago

exa (which OP's readme says eza is built on) supports creation times. Actual creation time (the "Birth" line in stat output), not ctime.