Encode a WAV file to FLAC, specifying the output file

flac

flac -o {{path/to/output.flac}} {{path/to/file.wav}}

click the source code to copy install flac on any operating system with command-not-found.com