Cara Looping di Bash untuk ganti Ekstensi Files
for fn in *.amr; do \ flatpak run --command=ffmpeg com.github.Bleuzen.FFaudioConverter -i "$fn" -c:a libvorbis "$(basename $fn .amr).oga"; \ done
(code above is just an example) "$fn" => "$(basename $fn .amr).oga" suara.amr => suara.oga https://stackoverflow.com/questions/2664740/extract-file-basename-without-path-and-extension-in-bash
Komentar
Posting Komentar
Komentar ...