Cameron Katri's Manual Page Server

Manual Page Search Parameters

DIRCONVERT(1) General Commands Manual DIRCONVERT(1)

dirconvertConvert color strings between LSCOLORS and LS_COLORS format

dirconvert LSCOLORS | LS_COLORS

The dirconvert utility reads the inputed string and converts that string into the alternative format. If the input is a single dash (‘-’) dirconvert reads the first line from the standard input.

The dirconvert utility exits 0 on success, and >0 if an error occurs.

Convert LS_COLORS to LSCOLORS format:

$ dirconvert "$LS_COLORS"
ExgxdxGxGxDxdxHxHxHeEx

opendirconvert(1)

April 27, 2021 opendircolors