From 350b3f4b2525185a1a2b863bd75576ef2199659c Mon Sep 17 00:00:00 2001 From: KeeganForelight Date: Tue, 17 Jan 2023 11:14:08 -0500 Subject: [PATCH] piped mv error to null --- watertracker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watertracker.sh b/watertracker.sh index 50cbf87..a5a80d1 100755 --- a/watertracker.sh +++ b/watertracker.sh @@ -66,7 +66,7 @@ get_current_amt() { # no waterfile # archiving old file - mv "$WORKING_DIR/*.csv" "$ARCHIVE_DIR" + mv "$WORKING_DIR/*.csv" "$ARCHIVE_DIR" 2>/dev/null # creating new file for the day printf 'Time, Change, Running Total\n' > "$WATER_FILE"