From a0c3bc74359b1b69a4753dd796f26d2a1f61de4c Mon Sep 17 00:00:00 2001 From: jorgevasquezp Date: Tue, 9 Jul 2019 09:56:53 -0700 Subject: [PATCH] included a script to make a folder for today --- bash/make_today_folder.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bash/make_today_folder.sh diff --git a/bash/make_today_folder.sh b/bash/make_today_folder.sh new file mode 100755 index 0000000..a1e292b --- /dev/null +++ b/bash/make_today_folder.sh @@ -0,0 +1,5 @@ +#!/usr/bin/bash +TODAY_FOLDER=$(date +"%m%d%y") +if [ ! -d "$TODAY_FOLDER" ]; then + mkdir "$TODAY_FOLDER" +fi