31 lines
879 B
Bash
31 lines
879 B
Bash
#!/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" \; |