From 9591943777145318838fb8f67501882fcc703eaa Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:44:55 -0600 Subject: [PATCH] Update sysadmin-bkp-edit.sh include edited-by --- sysadmin-bkp-edit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysadmin-bkp-edit.sh b/sysadmin-bkp-edit.sh index 3728fcc..6d01c36 100644 --- a/sysadmin-bkp-edit.sh +++ b/sysadmin-bkp-edit.sh @@ -3,7 +3,7 @@ # Backup critical file before editing (in current dir) # 2024.Mar kneutron -cp -v "$1" "$1".bkp.$(date +%Y%m%d@%H%M%S) +cp -v "$1" "$1.bkp.$(date +%Y%m%d@%H%M%S)--edit-by-$(id -un)" ls -lh "$1*" echo "Backed up $1 - OK to edit - Press enter"