summaryrefslogtreecommitdiff
path: root/dotfiles/system/.local/bin/opus2mp3
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/system/.local/bin/opus2mp3')
-rwxr-xr-xdotfiles/system/.local/bin/opus2mp33
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/system/.local/bin/opus2mp3 b/dotfiles/system/.local/bin/opus2mp3
new file mode 100755
index 0000000..eef37ed
--- /dev/null
+++ b/dotfiles/system/.local/bin/opus2mp3
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Craig Jennings Monday, April 25, 2022
+for f in *.opus; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 "${f%.opus}.mp3"; done