1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-17 12:22:57 +00:00
dotfiles/.local/bin/twitch-dl
2021-08-11 08:12:40 -04:00

7 lines
122 B
Bash
Executable file

#!/bin/sh
title=$(youtube-dl -e $1 | tr / _)
link=$(youtube-dl -g $1)
shift
ffmpeg -i $link -c copy $@ "file:$title.mkv"