Live data from Hacker News

Exa: An alternative to Ls

the.exa.website

21–30 of 105 posts

Re: Exa: An alternative to Ls

#22
post #15

I'm not gonna hate on this too much; side projects like this are fun and help the creator understand the filesystem-side of their operating system. The colors are pretty, there's some nifty features to better understand the file list you're staring at. This won't ever replace `ls` because it's not POSIX compliant, but that's okay because I don't think it needs to be. I have run into cases where downstream packages ha…

It's like saying ripgrep won't ever replace grep... It's true but for many use cases (for example in many shell scripts) but there are much more people using ripgrep than just its creator.

exa is already several years old and has 15 K thousands stars on Github. Not to mention all the people using it that never bothered to give it a star.

Re: Exa: An alternative to Ls

#24
post #6

This page doesn’t actually list any features or explain why you should use exa instead of ls. The homepage [0] is more useful in this regard. 0: https://the.exa.website/

Did the link get edited or something? OP takes me to https://the.exa.website/introduction, which has a nice tutorial with all of the features and how to install.

Re: Exa: An alternative to Ls

#25
> exa, by default, runs the stat system call on every file it encounters.

Never used a multi-user system with a moderate amount of files, did you? Let alone distributed filesystems.

Re: Exa: An alternative to Ls

#26

I've been using lsd[0] as my ls replacement for a while. I like that it has a config file for defaults, so I don't have to change a bunch of aliases when setting up a new system. 0: https://github.com/Peltoche/lsd

I'm also enjoying lsd, to the point where I've aliased ls to it. The file icons are fun.

Same here. It's great.

Re: Exa: An alternative to Ls

#28

I've been using lsd[0] as my ls replacement for a while. I like that it has a config file for defaults, so I don't have to change a bunch of aliases when setting up a new system. 0: https://github.com/Peltoche/lsd

It's also a lot faster than exa!

Re: Exa: An alternative to Ls

#29
I've been loving all the new rust-based CLI tools; you can find a lot of them here [0].

So far I've used ripgrep, fd-find, sd, exa, bat. I care less about speed and more about ease-of-use and beautiful output. Another bonus is standardized tooling between Mac and Linux; little bsd differences have been driving me nuts since I took a job that forced me into a MacBook, but these tools solve that issue and are easy to install with Homebrew.

[0] https://lib.rs/command-line-utilities

Re: Exa: An alternative to Ls

#30
post #3

I have nothing against exa, but the two examples in this post are are not correct for any sort of recent system. > Here’s an example. exa, by default, runs the stat system call on every file it encounters. So does "ls" ... for at least last 20 years. Just checked on random Ubuntu system I had -- executables and dirs are highlighted with different colors. > exa makes heavy use of colours, treating them as opt-out rath…

> I think they need stronger motivation.

I've been using `exa` for over a year now, and I use it as an alias for both `ls` and `tree`. I don't really notice any benefit compared to using `ls`, but I really prefer its tree mode over the default `tree` command. It's nice being able to use the same CLI args and have a similar output format for both `tree` and `ls`.

Post reply on HN