Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know there is tmutil delete to delete single timemachine snapshots from a backup of another machine — but now I need to delete only one of the folders inside the backup.

On my old (and now dead) iMac TimeMachine backed-up the internal «Macintosh HD» and an external FireWire-Disk named «ONE» … now I have a MacBook Air and just need the latest backup of the internal HD («Macintosh HD»). That means I've already deleted all the previous full and incremental backups («snapshots») with tmutil delete … but now I need also to delete the backup of the other volume that has been saved in this backup to free up space on the TimeMachine-Disk for new backups.

So there are two folders inside the latest backup:

/Volumes/TM/Backups.backupdb/iMac/2013-03-24-111738/Macintosh\ HD
/Volumes/TM/Backups.backupdb/iMac/2013-03-24-111738/ONE

representing the two volumes «Macintosh HD» (internal HD) and «ONE» (FireWire Disk).

HOW can I delete the folder/volume «ONE» from this backup-dir?

… Finder does not work, sudo rm does not work, tmutil delete only works with full snapshots…

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Time Machine backups are protected at the kernel level by the TMSafetyNet.kext extension. You'll need to run the bypass utility that is part of that extension's bundle to delete the backed up file. See the answer to this related question on AskDifferent.com for complete details on where to find the bypass utility and how to use it.

How can I delete a file marked as backup item?

share|improve this answer

sudo /System/Library/Extensions/TMSafetyNet.kext/Helpers/bypass rm -r /Volumes/*/Backups.backupdb/*/*/*/Volumes/One

In 10.7 and earlier bypass was in /System/Library/Extensions/TMSafetyNet.kext/Contents/MacOS/bypass.

Other related questions:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.