Lazy Shaver

Computer Geeks, Technology Enthusiast, Jazz Addict,Autodidact Trumpeter, Mie Aceh Maniac
Recent Tweets @wildabdat

open terminal on ubuntu,

first make sure you already have ffmpeg installed on your ubuntu, and maybe some codec library(check ubuntu-restricted-extras or medibuntu)

wild@wildPC:/music$ for f in *.ape;

wild@wildPC:/music$ do ffmpeg -i “$f” “${f%.ape}.wav”;

wild@wildPC:/music$ done <===press enter

explanation

let say you have below files on the directory

song1.ape

song2.ape

song3.ape

song4.mp3

first line : for every whatever file that have an “ape” file extension

then the system will catch below files

song1.ape

song2.ape

song3.ape

(song4.mp3 is not an ape file)

second line : do convert those “blablabla.ape” to “blablabla”.wav

after the system got those ape files , do convert…

so it will be like

song1.ape ==> initializing to convert to song1.wav

song2.ape ==> initializing to convert to song2.wav

song3.ape==> initializing to convert to song3.wav

third line : done! just convert it!

you can try different format, like ape to mp3 , or mp3 to wav, etc.. do whatever you want

  1. wildabdat posted this