Apple - Fastest way to delete all Timemachine Backups for a machine
If you've got:
Operation Not Permitted
after executing
sudo rm -rf Backups.backupdb
you should follow this approach, which is adding bypass
before the remove command:
sudo /System/Library/Extensions/TMSafetyNet.kext/Contents/Helpers/bypass rm -rfv Backups.backupdb
If you're comfortable with using Terminal.app (located in Utilities folder), you can try using Unix sudo rm -r <path>/Backups.backupdb
command. Note that <path>
is the placeholder for the path to the hard drive where your Time Machine backup is located. Please be careful with the path that you pass to this command by ensuring there is no typo.
The complete steps are:
- Launch Terminal.app
- In one of Terminal.app's window, type
sudo rm -R
followed by a space - Use a Finder window to navigate to the
Backups.backupdb
folder, then - Drag that folder to the Terminal.app's window of step 2, and press the Return key.
- You may be asked to type the password for the admin account.
- The default prompt will reappear in the Terminal.app's window when the deletion is done.
Type man rm
for documentation.