.dotfiles/.scripts/ytdl-song-upload.sh
2025-01-14 02:13:46 -03:00

6 lines
141 B
Bash
Executable File

mkdir ~/.tmp
cd ~/.tmp
FILENAME="$(yt-dlp --extract-audio --audio-format mp3 --print filename "$1")"
catboxupload "$FILENAME"
rm "$FILENAME"