Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- read ffmpeg
- read destinationPath
- [ ! -x "$ffmpeg" ] || [ ! -d "$destinationPath" ] && exit 1
- while read file
- do
- < /dev/null "$ffmpeg" -loglevel error -i "$file" -vn -acodec flac -y "$destinationPath/${file##*/}.flac"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement