commands.sh

flac

all

Encode, decode, and test FLAC files.

More info →

Options (3)

-o, --output-nameboolean

Encode a WAV file to FLAC, specifying the output file

Example: flac {{[-o|--output-name]}} {{path/to/output.flac}} {{path/to/file.wav}}
-d, --decodeboolean

Decode a FLAC file to WAV, specifying the output file

Example: flac {{[-d|--decode]}} {{[-o|--output-name]}} {{path/to/output.wav}} {{path/to/file.flac}}
-t, --testboolean

Test a FLAC file for the correct encoding

Example: flac {{[-t|--test]}} {{path/to/file.flac}}

Examples (4)

Encode a WAV file to FLAC (this will create a FLAC file in the same location as the WAV file)

flac path/to/file.wav

Encode a WAV file to FLAC, specifying the output file

flac [-o|--output-name] path/to/output.flac path/to/file.wav

Decode a FLAC file to WAV, specifying the output file

flac [-d|--decode] [-o|--output-name] path/to/output.wav path/to/file.flac

Test a FLAC file for the correct encoding

flac [-t|--test] path/to/file.flac
made by @shridhargupta | data from tldr-pages