.dotfiles/.scripts/ytdl-song-upload.sh

6 lines
141 B
Bash
Raw Normal View History

2025-01-14 00:13:46 -05:00
mkdir ~/.tmp
cd ~/.tmp
FILENAME="$(yt-dlp --extract-audio --audio-format mp3 --print filename "$1")"
catboxupload "$FILENAME"
rm "$FILENAME"