The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ls_color - colorize input filenames just like ls does

USAGE

  command | ls_color [OPTIONS]

DESCRIPTION

ls_color demonstrates the Perl module File::LsColor.

OPTIONS

  -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

EXAMPLES

  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

AUTHOR

  Magnus Woldrich
  CPAN ID: WOLDRICH
  m@japh.se
  http://japh.se
  https://github.com/trapd00r

REPORTING BUGS

Report bugs on rt.cpan.org or to m@japh.se

COPYRIGHT

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.