Last active
August 29, 2015 14:24
-
-
Save AARomanov1985/13f637a6a4ac394fa83e to your computer and use it in GitHub Desktop.
Bash полезности
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mkdir out | |
for f in *.avi *.mkv *.mp4; | |
do | |
ffmpeg -i "$f" -vn -ar 44100 -ac 2 -ab 192k -f mp3 out/"${f%.*}".mp3 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment