diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-16 18:36:13 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-16 18:36:13 +0200 |
| commit | f4f80e62c997dbe185337aa1a18509b125759875 (patch) | |
| tree | 38cf2c45024ec61233a733fbbb27785f223b2792 | |
| parent | c276b82f71d6d0494cae8ff19633e8880a98ccfd (diff) | |
| download | dots-backup-f4f80e62c997dbe185337aa1a18509b125759875.tar.gz dots-backup-f4f80e62c997dbe185337aa1a18509b125759875.zip | |
feat: lastupdate also writes machine-readable epoch
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| -rwxr-xr-x | dot-backup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dot-backup.sh b/dot-backup.sh index 463f783..567d6c8 100755 --- a/dot-backup.sh +++ b/dot-backup.sh @@ -187,6 +187,7 @@ beginswith() { [[ "$2" == "$1"* ]]; } lastupdate() { D=$(date) echo "Last update: $D" > "${DEFAULT_OUTPUT_DIR}/lastupdate" + date +%s > "${DEFAULT_OUTPUT_DIR}/lastupdate.epoch" } log_verbose() { |
