update
This commit is contained in:
parent
3ee2f4c885
commit
9765a9e04a
11 changed files with 15 additions and 54 deletions
7
zsh/media.zsh
Normal file
7
zsh/media.zsh
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue