summaryrefslogtreecommitdiff
path: root/deflac.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deflac.sh')
-rwxr-xr-xdeflac.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/deflac.sh b/deflac.sh
new file mode 100755
index 0000000..24d9780
--- /dev/null
+++ b/deflac.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+for a in ./*.flac; do
+ ffmpeg -i "$a" -qscale:a 0 "${a[@]/%flac/mp3}"
+done