This commit is contained in:
JMARyA 2022-05-19 01:16:20 +02:00
parent 3ee2f4c885
commit 9765a9e04a
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
11 changed files with 15 additions and 54 deletions

7
zsh/media.zsh Normal file
View file

@ -0,0 +1,7 @@
function convert() {
for i in *.$1; do ffmpeg -i "$i" "${i%.*}.$2"; done
}
function mkvToMp4() {
for i in *.mkv; do ffmpeg -i "$i" -map 0 -c copy "${i%.*}.mp4"; done
}