Skip to content

Instantly share code, notes, and snippets.

@au5ton
Created April 26, 2017 01:32
Show Gist options
  • Save au5ton/bc9d70cfe32583ba6e5e246c6d3e958c to your computer and use it in GitHub Desktop.
Save au5ton/bc9d70cfe32583ba6e5e246c6d3e958c to your computer and use it in GitHub Desktop.
@echo off
forfiles /s /m *.flac /c "cmd /c ffmpeg -i @path -b:a 320k @path.mp3"
#!/bin/bash
find . -name "*.flac" -exec ffmpeg -i {} -b:a 320k $(basename {}).mp3 \;
@echo off
forfiles /s /m *.flac /c "cmd /c ffmpeg -i @path -b:a 0 @path.mp3"
#!/bin/bash
find . -name "*.flac" -exec ffmpeg -i {} -b:a 0 $(basename {}).mp3 \;
@echo off
forfiles /s /m *.flac /c "cmd /c ffmpeg -i @path -b:a 2 @path.mp3"
#!/bin/bash
find . -name "*.flac" -exec ffmpeg -i {} -b:a 2 $(basename {}).mp3 \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment