#!/bin/bash # A script to not make me type all that argument **** when I want to download music. # Yes I am lazy. if [[ -n "$1" ]]; then yt-dlp "$1" --extract-audio -i -o "%(title)s.%(ext)s" --audio-format mp3 --cookies "~/.config/cookies.txt" && exit 0 || exit 1 else printf "[ Error ] Not enough arguments.\n" exit 1 fi