commit 8a078c836a9d782fdffb03b38c2be339d8dab548 parent ea1bdd8eed6bbe92178803e40c9610317b472f9b Author: Antoine Amarilli <a3nm@a3nm.net> Date: Thu, 6 Jan 2022 12:48:12 +0100 canary Diffstat:
backup_canary | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/backup_canary b/backup_canary @@ -2,5 +2,7 @@ FOLDER="${1:-$HOME}" FILE="$FOLDER/.backup_canary" -date > "$FILE" +DATE="$(date)" +HOSTNAME="$(hostname)" +echo "$HOSTNAME:$FOLDER $DATE" > "$FILE"