Advertisement
PrimePastes

How To Convert Multiple FLAC or M4A Files In A Folder To WAV

Jun 20th, 2021 (edited)
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. 1. 'cd' into the folder where the FLAC files are.
  2.  
  3. 2. copy & paste the following:
  4.  
  5. for f in *.flac ; do ffmpeg -i "${f}" "${f%.*}.wav" ; done
  6.  
  7. USER:~ $ cd
  8. USER:~ $ cd /Users/FOLDER
  9. USER:FOLDER $ for f in *.flac ; do ffmpeg -i "${f}" "${f%.*}.wav" ; done
  10. ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
  11.  
  12. Converting .mp4 files to .wav:
  13.  
  14. for file in *.m4a; do ffmpeg -i "$file" "${file%.m4a}.wav"; done
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement