1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 15:45:59 +02:00

flac: match conventions

- Removed preceding / from file paths
- Made the output flag to be consistent on both examples
-Clarified the output file location in the first example
This commit is contained in:
Agniva De Sarker 2018-01-09 13:56:49 +05:30 committed by GitHub
parent b4d2f58298
commit 75ce4244d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,18 +2,18 @@
> Encodes, decodes and tests flac files.
- Encode a wav file to flac, writing to /path/to/file.flac:
- 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}}`
`flac {{path/to/file.wav}}`
- Encode a wav file to flac, specifying the output file:
`flac -o {{/path/to/output.flac}} {{/path/to/file.wav}}`
`flac -o {{path/to/output.flac}} {{path/to/file.wav}}`
- Decode a flac file to wav, specifying the output file:
`flac -d --output-name {{/path/to/output.wav}} {{/path/to/file.flac}}`
`flac -d -o {{path/to/output.wav}} {{path/to/file.flac}}`
- Test a flac file for correct encoding:
`flac -t {{/path/to/file.flac}}`
`flac -t {{path/to/file.flac}}`