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