This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Since we're dealing with dd, abort if any errors occur | |
set -e | |
TEST_FILE=${1:-dd_ibs_testfile} | |
if [ -e "$TEST_FILE" ]; then TEST_FILE_EXISTS=$?; fi | |
TEST_FILE_SIZE=134217728 | |
# Exit if file exists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
BACKUP_PATH=$1 | |
if [ -z "$BACKUP_PATH" ]; then | |
echo "Please provide path to Time Machine backup bundle." | |
exit 1 | |
fi | |
echo "More info at https://jd-powered.net/notes/fixing-your-time-machine-backup/" |
OlderNewer