aboutsummaryrefslogtreecommitdiffstats
path: root/curlist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'curlist.sh')
-rwxr-xr-xcurlist.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/curlist.sh b/curlist.sh
new file mode 100755
index 0000000..6720b91
--- /dev/null
+++ b/curlist.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+curdir=~/Documents/Notes/current/
+
+if [[ -d $curdir ]]; then
+ ls "$curdir/"
+else
+ echo "The ~/Documents/Notes/current directory does not exist. Please create it to proceed."
+ exit 1
+fi