- Every tiny cent helps a lot!
ls++ [OPTION]... [FILE]...
Not known parameters will be passed through to ls, so to show hidden files, -a or -A might be added. See ls(1) for more information.
--pf permissions, file
--psf permissions, size, file
--tpf time, permissions, file
--tpsf time, permissions, size, file (default)
--ptsf permissions, time, size, file
--potsf permissions, owners, time, size, file
Packages exist for several linux distributions:
pacman -S ls++
yast -i ls++
I recommend using the cpanminus cpan client and doing a
alias cpan=cpanm
in your shellrc. The program will be there in your normal repositories. :)
# cpanm Term::ExtendedColor File::LsColor
$ git clone git://github.com/trapd00r/ls--.git
$ cd ls--
$ perl Makefile.PL
$ make && su -c 'make install'
$ cp ls++.conf $HOME/.ls++.conf
$ mkdir -p $HOME/lib/perl5
$ export PERL5LIB=${HOME}/lib/perl5
$ export PERL_MM_OPT="INSTALL_BASE=${PERL5LIB}"
$ cpanm Term::ExtendedColor File::LsColor
$ git clone git://github.com/trapd00r/ls--.git
$ cd ls--
$ perl Makefile.PL
$ make
$ make install
$ cp ls++.conf $HOME/ls++.conf
$ mkdir -p $HOME/lib/perl5
$ export PERL5LIB=${HOME}/lib/perl5
$ export PERL_MM_OPT="INSTALL_BASE=${PERL5LIB}"
$ cpan App::lsplusplus
If you want to install it globaly, you just skip the first three steps and run the cpan command as root.
# cpan Term::ExtendedColor File::LsColor
$ git clone git://github.com/trapd00r/ls--.git
$ cd ls--
$ perl Makefile.PL
$ make && sudo 'make install'
$ cp ls++.conf $HOME/.ls++.conf
I wanted to re-arrange the ls output just like one can do with the -printf option to GNU find. Sadly, there are no -printf option available for ls, so I threw together a quick hack called 'pilsner' that did what I wanted and nothing more, nothing less. Not very useful to others.
Mattias Svanstrรถm crafted together the 'l' application which did basically the same thing but more elegant and with a nice twist; it calculated relative mtimes.
I really liked that idea, but there were a couple of annoyances, so I forked the project and added a configuration file, support for flags that'll control the different views and possibility to ignore as well as highlight specific files.
\ \ | / /
\ \ - /
\ | /
(O O)
( < )
(-=-)
Magnus Woldrich
CPAN ID: WOLDRICH
[email protected]
http://japh.se
Shelby Munsch - extensive macos work
Copyright 2010, 2011, 2018 the ls++ AUTHOR and CONTRIBUTORS as listed above.