From a994159cca01cf3f0d3a64e1a34cedd2661eb68d Mon Sep 17 00:00:00 2001 From: Ryan Greenup Date: Fri, 17 Jul 2020 03:43:56 +1000 Subject: [PATCH] TODO Fix Temp Directory --- bin/tags/FilterNotesByTMSUTag.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/tags/FilterNotesByTMSUTag.sh b/bin/tags/FilterNotesByTMSUTag.sh index 25af058..cdc8462 100755 --- a/bin/tags/FilterNotesByTMSUTag.sh +++ b/bin/tags/FilterNotesByTMSUTag.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash readonly script_name=$(basename "${0}") readonly script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) + if [[ "${1:-}" != "" ]]; then readonly NOTES_DIR="${1}" else @@ -150,6 +151,8 @@ $(addBullets "$ConcurrentTags") " ## read -p 'Press t to continue chosing Tags concurrently: ' conTagQ + ## This temp dir doesn't work ??? TODO + ## TEMPDIR="$(mktemp -d /tmp/cadmusTagsXXXXXXX)" TEMPDIR=/tmp/00tagMatches echo -e "