Skip to content

Instantly share code, notes, and snippets.

@boxxxie
Created October 2, 2012 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boxxxie/3820403 to your computer and use it in GitHub Desktop.
Save boxxxie/3820403 to your computer and use it in GitHub Desktop.
converting .ape files to .flac with vlc in ubuntu
for ape_file in *.ape; do
file_name="${ape_file%.*}"
vlc "$ape_file" --no-sout-video --sout '#transcode{acodec=flac}:std{access=file,mux=raw,dst='"$file_name.flac" vlc://quit
done
#i know that there is an unclosed bracket, however when i close it it is added to the file name (sometimes). i just don't care. someone fix this if they find it anything useful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment