Can I simply manually delete individual Time Machine backups from the Finder or command line?
tl;dr - It's safe to delete in whatever way you choose.
The only conceivable problem would be if Time Machine was trying to prune a backup at the same time you were deleting, so maybe turn off Time Machine for the duration of your clean up if you're not using the built in delete button.
You can use tmutil delete
in Lion to safely delete backups. The benefit of this is the deletion happens more silently in the background. The downside is the UI isn't speedy for deleting more than one snapshot at a time. In practice, you have to be there to attend multiple deletions.
Don't worry about the internals of how files are linked or stored - yes most of the files in most of the backups are hard links, but to clean these up, you have to delete things folder by folder. The system will handle decrementing the link count so there's no better or worse way to go here.
It is also safe to simply remove them via Finder or any other method - just be patient as each backup contains a full set of directory entries for each file. My (worst) record is 4 days to delete through finder a batch of unwanted backups.
Good advice might be to start small if you can't leave your mac on overnight.
You won't lose any data unless you are deleting the last copy of a version of some file. You don't get any warnings, it will get deleted - this is the same whether you use Time Machine itself, or Finder or rm
in some terminal script.
As a brief aside - Why do you want to do this? Time Machine automatically prunes old backups when you're getting low on space. I've found it very comforting to just clone my Time Machine drive to a cheap USB external drive and put it on the shelf. (or make this the drive on the shelf and use it as an excuse to get a new drive) Perhaps it's the perfect pack-rat-keep-everything verses if-you-don't-need-it-now's-the-time-to-delete-it test for Mac users.
Time Machine has supported deleting snapshots from Finder since 10.7:
Like tmutil delete
, it only works with the directories for complete snapshots though.
I don't know why it's not allowed normally, but you can delete individual files with something like sudo /System/Library/Extensions/TMSafetyNet.kext/Helpers/bypass rm -rf /Volumes/Time\ Machine/Backups.backupdb/Macintosh/2012-10-04-033043/HD/tmp
.
Hard links don't stop working when the original files are removed:
$ echo x > 1; ln 1 2; rm 1; cat 2
x
There's another similar question at Super User.
You are OK to go ahead and delete the older backups using the Finder. Just beware that any files that only exist in these backup periods will be gone. Deleting backups on command doesn't preserve files or merge/combine backups like the normal Time Machine pruning does in an effort to keep as many files available on the backup as possible.