Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

What is the recommended way to get rid of a whole TimeMachine archive (aka Backups.backupdb)?

Using Disk Utility to erase the whole disk is not an option.

I moved everything to the Trash, but "preparing to empty trash" was counting files to delete forever. I cancelled at -100,000 files.

So what's the recommended way to delete huge amounts of files?

share|improve this question

3 Answers 3

up vote 9 down vote accepted

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:

  1. Launch Terminal.app
  2. In one of Terminal.app's window, type sudo rm -R followed by a space
  3. Use a Finder window to navigate to the Backups.backupdb folder, then
  4. Drag that folder to the Terminal.app's window of step 2, and press the Return key.
  5. You may be challenged to type the password for the admin account (which is usually the same user account that you logged into OS X).
  6. The default prompt will reappear in the Terminal.app's window when the deletion is done.

Type man rm for documentation.

share|improve this answer

sudo rm -rf triggered an 'Operation Not Permitted' on a bunch of files. I had to use this approach: http://superuser.com/questions/162690/how-can-i-delete-time-machine-files-using-the-commandline/387464#387464

share|improve this answer

I found that link on the web, check on the website the time the information was last modified.

I've tried and it is reasonable fast.

https://support.apple.com/kb/PH18855?locale=en_US

share|improve this answer
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Tetsujin Jul 16 at 19:21
    
I fixed it, added the link address. –  Marco Jul 16 at 19:37
    
Hope the answer is fine now, it is actualized, verified, recommended and a fast way to delete backup files. –  Marco Jul 17 at 13:22

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.