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