flac
Encode, decode, and test FLAC files. tldr-pages
On several platforms
Several platforms
Encode a WAV file to FLAC (this will create a FLAC file in the same location as the WAV file)
flac path/to/file.wavIdentifyEncode a WAV file to FLAC, specifying the output file
flac --output-name path/to/output.flac path/to/file.wavIdentifyDecode a FLAC file to WAV, specifying the output file
flac --decode --output-name path/to/output.wav path/to/file.flacIdentifyTest a FLAC file for the correct encoding
flac --test path/to/file.flacIdentify