Dateien nach "/" hochladen

This commit is contained in:
2025-12-11 14:49:40 +01:00
parent 03b7794d30
commit 409db0e9e8
4 changed files with 78 additions and 0 deletions

31
m4b.sh Normal file
View File

@@ -0,0 +1,31 @@
#!/bin/sh
# for m4b in $(ls -1 *.m4b); do ffmpeg -i $m4b -acodec libmp3lame -ar 22050 ${m4b}.mp3; done
# find "/volume1/Filesharing/Ho/" -type f -iname '*.mp3' -exec ffmpeg -i $m4b -acodec libmp3lame -ar 22050 ${m4b}.mp3; done
#find "/volume1/Filesharing/Ho/" -iname '*.mp3' -print0 | xargs -0 -n1 for f in *.mp3; do ffmpeg -i "$f" -sameq "${f%.mp3}.m4a"; mv "${f%.mp3}.m4a" "${f%.mp3}.m4b";
#done;
#rm $f # Wenn du die Dateien noch entfernen willst..
# echo "Processing $f file..."
# for i in *mp3 ; do ffmpeg -i $i -sameq $i.m4a ; done
# for /F %i in *mp3 ; do ffmpeg -i $i -sameq $i.m4a ; done
#find -name "*.mp3" -exec ffmpeg -i $file -sameq ${file%%.*}.m4a \;
##############for f in *.mp3; do ffmpeg -i "$f" -sameq "${f%.mp3}.m4a"; mv "${f%.mp3}.m4a" "${f%.mp3}.m4b"; done;
find . -type f -name "*.mp3" -exec ffmpeg -i "$f" -sameq "${f%.mp3}.m4a" \;