ls_color - colorize input filenames just like ls does
command | ls_color [OPTIONS]
ls_color demonstrates the Perl module File::LsColor.
-k, --key look for filenames in field n --ifs set input field separator --paths colorize the entire path as per old default -h, --help display this help and exit
find $HOME/ | ls_color du -h --max-depth=1 "$@" | sort -k 1,1hr -k 2,2f | ls_color -k2 # cheap mans ls++ find "$@" -printf "%M | %TY-%Tm-%Td | %d%y %f -> (%.20P)\n" | ls_color -k6
Magnus Woldrich CPAN ID: WOLDRICH m@japh.se http://japh.se https://github.com/trapd00r
Report bugs on rt.cpan.org or to m@japh.se
Copyright (C) 2011, 2019- Magnus Woldrich. All right reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install File::LsColor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::LsColor
CPAN shell
perl -MCPAN -e shell install File::LsColor
For more information on module installation, please visit the detailed CPAN module installation guide.