Advertisement
Guest User

Untitled

a guest
Jul 13th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3.  
  4. ## 320
  5. if [ $1 = "320" ]; then
  6. for file in *.flac; do $(flac -cd "$file" | lame -b 320 - "${file%.flac}.mp3"); done
  7.  
  8.  
  9. ## V0
  10. elif [ $1 = "V0" ]; then
  11. for file in *.flac; do $(flac -cd "$file" | lame -V0 --vbr-new - "${file%.flac}.mp3"); done
  12.  
  13.  
  14. ## V0
  15. elif [ $1 = "V2" ]; then
  16. for file in *.flac; do $(flac -cd "$file" | lame -V2 --vbr-new - "${file%.flac}.mp3"); done
  17. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement