initial commit
This commit is contained in:
9
borg/.borg/bakage.sh
Executable file
9
borg/.borg/bakage.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
last=$(cat $HOME/.lastbak)
|
||||
time=$(date +%s)
|
||||
|
||||
age_s=$(( $time - $last ))
|
||||
age=$(( $age_s / 86400 ))
|
||||
|
||||
echo $age
|
||||
Reference in New Issue
Block a user