check if dest folder exist

This commit is contained in:
rick 2022-04-03 02:13:57 +02:00
parent a03a531bbd
commit 7027cd0c80
Signed by: Rick
GPG key ID: 4A6223D66294EB20

View file

@ -58,6 +58,12 @@ check ()
esac
}
if [ ! -d $dest ]
then
echo "Create $dest..."
mkdir $dest
fi
for i in ${folders}
do
for j in $(find "$origin$i" -type f -iname "*.org")