Earlier quoted context omitted.
From the FAQ: >Is this a drop-in replacement for ls? No — exa has, in my opinion, much saner defaults than ls, so while the available command-line options are similar, they are not exactly the same. Most of the common options will work consistently, though. For example, exa prints human-readable file sizes by default (when would you not want that?) so ls -h no longer applies.
"exa prints human-readable file sizes by default (when would you not want that?)" When doing automated text-processing and wanting to easily do precise calculations, without having to deal with different units.
Exa, a modern replacement for ls
21–30 of 420 posts
Re: Exa, a modern replacement for ls
#22EDIT:
"exa prints human-readable file sizes by default (when would you not want that?)"
I actually use bytes a lot for certain progress calculations.
Also I get an error "exa: error while loading shared libraries: libhttp_parser.so.2.1: cannot open shared object file: No such file or directory" (Ubuntu 17.04)
Re: Exa, a modern replacement for ls
#23Earlier quoted context omitted.
From the FAQ: >Is this a drop-in replacement for ls? No — exa has, in my opinion, much saner defaults than ls, so while the available command-line options are similar, they are not exactly the same. Most of the common options will work consistently, though. For example, exa prints human-readable file sizes by default (when would you not want that?) so ls -h no longer applies.
"exa prints human-readable file sizes by default (when would you not want that?)" When doing automated text-processing and wanting to easily do precise calculations, without having to deal with different units.
Re: Exa, a modern replacement for ls
#24exa is hard to type, bad choice of name for something I'd be typing many times a day
Re: Exa, a modern replacement for ls
#25exa is hard to type, bad choice of name for something I'd be typing many times a day
Re: Exa, a modern replacement for ls
#26so... a mix up of the following: which ls alias ls='ls --color=auto' /bin/ls tree -L 2 git diff --stat git status
But this is "Modern". The problem I see with these "modern" command replacements is 1) muscle memory and 2) I have to log into some old systems that simply will not have anything this "modern".
If you want, you can alias it to `ls` so you don't lose muscle memory.
Re: Exa, a modern replacement for ls
#27Is this intended as a full on ls replacement? As in, does it respect the envvars such as lscolors? Will it silently ignore -h, or will it die violently?
From the FAQ: >Is this a drop-in replacement for ls? No — exa has, in my opinion, much saner defaults than ls, so while the available command-line options are similar, they are not exactly the same. Most of the common options will work consistently, though. For example, exa prints human-readable file sizes by default (when would you not want that?) so ls -h no longer applies.
Re: Exa, a modern replacement for ls
#28Earlier quoted context omitted.
From the FAQ: >Is this a drop-in replacement for ls? No — exa has, in my opinion, much saner defaults than ls, so while the available command-line options are similar, they are not exactly the same. Most of the common options will work consistently, though. For example, exa prints human-readable file sizes by default (when would you not want that?) so ls -h no longer applies.
> > For example, exa prints human-readable file sizes by default (when would you not want that?) When its being used as part of a script.
Re: Exa, a modern replacement for ls
#29so... a mix up of the following: which ls alias ls='ls --color=auto' /bin/ls tree -L 2 git diff --stat git status
But this is "Modern". The problem I see with these "modern" command replacements is 1) muscle memory and 2) I have to log into some old systems that simply will not have anything this "modern".
test -f /usr/bin/exa && alias ls='/usr/bin/exa'
The second problem is solved by configuration management tools pushing out your desired tools to your entire environment.Re: Exa, a modern replacement for ls
#30exa is hard to type, bad choice of name for something I'd be typing many times a day
"gf" for example would be better. neighbor characters on the keyboard, could stand for get files.