checkmk icon indicating copy to clipboard operation
checkmk copied to clipboard

timemachine: removesuffix .backup

Open loopway opened this issue 1 year ago • 2 comments

timemachine: remove .backup suffix from tmutil latestbackup output

General information

The output of tmutil latestbackup on my macOS looks like this: /Volumes/.timemachine/CA30DC01-325C-43C2-8187-E404168D2F8B/2024-08-17-001115.backup/2024-08-17-001115.backup

Because of the .backup suffix the check fails with a python error converting the timestamp extracted from the filename.

Bug reports

  • macOS 14.6.1

Proposed changes

remove .backup suffix if exists

loopway avatar Aug 16 '24 22:08 loopway

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

github-actions[bot] avatar Aug 16 '24 22:08 github-actions[bot]

I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA.

loopway avatar Aug 16 '24 22:08 loopway