From aa296cf52dc0f203227f8621b9182cee3aac7296 Mon Sep 17 00:00:00 2001 From: ChuckPa Date: Fri, 11 Nov 2022 13:57:15 -0500 Subject: [PATCH] use printf in new code. Reapply timestamp change --- DBRepair.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DBRepair.sh b/DBRepair.sh index d6fc7f4..d58f867 100755 --- a/DBRepair.sh +++ b/DBRepair.sh @@ -440,7 +440,7 @@ SetLast() { CPPL=com.plexapp.plugins.library # Initial timestamp -TimeStamp="$(date "+%Y-%m-%d_%H:%M:%S")" +TimeStamp="$(date "+%Y-%m-%d_%H.%M.%S")" # Initialize LastName LastTimestamp SetLast "" "" @@ -1056,7 +1056,7 @@ do # 7. - Get Viewstate/Watch history from another DB and import elif [ $Choice -eq 7 ]; then - echo -n "Pathname of database containing watch history to import: " + printf "Pathname of database containing watch history to import: " read Input # Did we get something?