Create data directory recursively

This is mainly for Termux where apparently Documents doesn't exist by default either.
This commit is contained in:
Michael De Roover 2020-05-14 16:46:53 +02:00
parent e5b9dc4cec
commit 1b5d4233c3
Signed by: vim
GPG Key ID: 075496E232CE04CB

2
cv
View File

@ -20,7 +20,7 @@ data="$HOME/Documents/cv"
if [ ! -d "$data" ]
then
ex "mkdir $data"
ex "mkdir -p $data"
# This is just for migration. Remove afterwards.
ex "mv /tmp/cv/* $data/ -v"
fi