Options (3)
-o, --output-namebooleanEncode a WAV file to FLAC, specifying the output file
Example:
flac {{[-o|--output-name]}} {{path/to/output.flac}} {{path/to/file.wav}}-d, --decodebooleanDecode 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, --testbooleanTest 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.wavEncode a WAV file to FLAC, specifying the output file
flac [-o|--output-name] path/to/output.flac path/to/file.wavDecode a FLAC file to WAV, specifying the output file
flac [-d|--decode] [-o|--output-name] path/to/output.wav path/to/file.flacTest a FLAC file for the correct encoding
flac [-t|--test] path/to/file.flacmade by @shridhargupta | data from tldr-pages