Skip to content

Commit 69195bc

Browse files
committed
Corrected the timestamp of the latest backup with multiple destinations
1 parent ce6a0d9 commit 69195bc

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2023-08-07 Matteo Corti <[email protected]>
2+
3+
* tmstatus.sh: Corrected the timestamp of the latest backup with multiple destinations
4+
15
2023-07-21 Matteo Corti <[email protected]>
26

37
* tmstatus.sh: Corrected the size of the last backups (same values as Backup Loupe)

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* 2023-08-07, Version 1.18.0
2+
* Corrected the timestamp of the latest backup with multiple destinations
13
* 2023-07-21, Version 1.17.0
24
* Corrected the sizes of today's backups
35
* 2023-07-17. Version 1.16.0

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Corrected the sizes of today's backups
1+
Corrected the timestamp of the latest backup with multiple destinations

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.17.0
1+
1.18.0

tmstatus.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#
1313

1414
# shellcheck disable=SC2034
15-
VERSION=1.17.0
15+
VERSION=1.18.0
1616

1717
export LC_ALL=C
1818

@@ -264,7 +264,7 @@ EOF
264264
DAYS_AGO="$(format_days_ago "${days}")"
265265
printf ' Oldest:\t%s (%s)\n' "${backup_date}" "${DAYS_AGO}"
266266

267-
LATESTBACKUP="$(tmutil latestbackup)"
267+
LATESTBACKUP="$(tmutil latestbackup -d "${tm_mount_point}")"
268268
if echo "${LATESTBACKUP}" | grep -q '[0-9]'; then
269269
# a date was returned (should implement a better test)
270270
DATE="$(echo "${LATESTBACKUP}" | sed 's/.*\///' | sed 's/[.].*//')"

0 commit comments

Comments
 (0)