From 1b79bc45a9aa15ed84f8e5ebb21d6a04988a12ad Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 11 May 2023 20:46:53 +0100 Subject: Updates scripts --- zetrename.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zetrename.sh') diff --git a/zetrename.sh b/zetrename.sh index 8cb5497..e1a178d 100755 --- a/zetrename.sh +++ b/zetrename.sh @@ -1,8 +1,8 @@ -#!/usr/local/bin/bash +#!/usr/bin/bash # Renaming files of the format YYYYMMDDHHMMSS-title text etc.md is a massive pain, so this script does it for you. -NOTES=/home/$USER/Notes/modzet +NOTES=/home/$USER/Documents/Notes/modzet function usage { echo @@ -15,7 +15,7 @@ if [[ $# -eq 0 ]]; then usage; exit 1 fi -# path must be of form /home/$USER/Notes/modzet/20220419133511-Title of file.md +# path must be of form /home/$USER/Documents/Notes/modzet/20220419133511-Title of file.md #re='^/tmp\/Notes\/modzet\/(.{14})-(.+)\.md' re='^/home\/lemon\/Notes\/modzet\/(.{14})-(.+)\.md' -- cgit v1.2.3