~iortega/scripts

d15379ff11664fd2a31a071b2f9c90c7ec0a93f0 — Iñigo Ortega Martínez 2 years ago c5ab1b7 master
BUG: directory was not being created
1 files changed, 1 insertions(+), 1 deletions(-)

M download-audio.sh
M download-audio.sh => download-audio.sh +1 -1
@@ 20,7 20,7 @@ usage() {

origin="$(pwd)"
dir="$HOME/Downloads/yt-dlp"
[ -d "$dir" ] && mkdir "$dir"
[ ! -d "$dir" ] && mkdir -p "$dir"

# To get options provided to the command
while getopts ":f:d:" option; do