Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to delete a Sparsebundle. A Faster Way.

After many trials and errors, I might have found a way to erase a Sparsebundle faster without having to wipe your entire Time Capsule, or using 3rd party programs.


My Setup: I am using the latest update of OS X Lion up to date. I have a 3 TB Time Capsule to which I back up to, through a Wifi connection.


For this exercise, I connected my device (Laptop) to the Time Capsule through a data cable and not through WiFi - please note that you can also do this through a WiFi connection if you do not have a data cable.


In settings, set your device to never go to sleep in Energy Saver - this is optional - so as not to interrupt the deleting process.


Open a Finder Window, click on your device name under "Devices" in the left column.

Then in the right window, double click on Network.

Then, double click on the hard drive where the Sparsebundle is located that needs to be deleted (click your way through until you reach the window where the Sparsebundle is located - i.e. in my case it was Device Name -> Network -> Time Capsule -> Data -> [this is the spot where my Sparsebundle was located]).

Highlight the Sparsebundle (do not double click on it!).

Click on the little gear button at the top of the window -> then click on "Show Package Contents" in the dropdown box.

After a few moments, files will appear on the right side.

Double click on the "Bands" file and wait for a few seconds/minutes for the bands/files to appear in the new window (there could be as much as 75 000 lines, and more, depending on how long you have been using this Sparsebundle).


Setup to delete Bands:

1. Open up the "Force Quit Applications" window by holding down on "Command" + "Options" and the "Escape" keys simaltaniously, and drag this window to the right side of your screen (for convenience sake).

2. Decrease the size of the main Finder window that contains the bands, and drag it to the left side of the screen.

You are going to use both windows at all times.


Delete Process:


Now, right at the start, relaunch Finder in the "Force Quit Applications" window by highlighting Finder and then click on "Relaunch" at the bottom of the window.

Wait a few moments for the bands to reappear in the Finder window.

Then highlight about 5000 bands at a time and delete them (choosing less will go faster). It might take a while to count the bands and start the deleting process, but be patient.

Then, after the selected lines are deleted, (OR at any time if the process gets stuck for more than a minute), just relaunch Finder again and restart the process.


This is the trick - Relaunch Finder after every batch of bands you delete. (I do not know why, but it works!)


Relaunch Finder -> Delete bands -> Relaunch Finder -> Delete bands -> Relaunch Finder....... etc.


When you are done, do not forget to reset your Energy Saver settings in System Preferences.


By doing this, I was able to delete more than 17 000 bands in 5 minutes as opposed to waiting for 18 hours to delete 31 000 files at a time (in one batch). My original Sparsebundle of 75 000 lines took me almost 48 hours to delete in the old way. With this new way of "Relaunching Finder after every delete" the process was lighting fast in comparisson.

MacBook Pro (15-inch Late 2011), Mac OS X (10.7.3), Time Capsule, Sparsebundle

Posted on Mar 15, 2012 5:58 PM

Reply
Question marked as Best reply

Posted on Oct 30, 2012 10:59 AM

hi matroos8,


This is a quicker way :


Juste open the terminal and browse to the volume :

$ cd /Volumes/Data/


Then simply type this remove command :

$ rm -Rfv <My bundle>.sparsebundle

7 replies

Nov 4, 2012 12:41 PM in response to Antoine P

I tried this (well, only rm -R without the f or v) and after ten minutes nothing had happened, ie, not asking for confirmation for any files. Even something as simple as a ls command in the bands folder did not produce any results within ten minutes. (I also tried the band method but at best I was able to delete individual bands never more than one, I also tried connecting via SMB and I tried the third-party application Graveyard.)


What was much faster was to simply open up the TC, put the HDD into a HDD dock and delete the bundle with the disk mounted locally. Deletion of 1 TB consisting of almost 100 000 bands took about five minutes with an always active progress bar.


To anybody having a HDD dock (or an easily opened 3.5" HDD enclosure) I recommend this approach.

Jan 31, 2013 1:17 AM in response to Antoine P

Hi Antoine P,


Sorry, I'm completely new to this, having only just got a readyNAS. I'm trying to delete my sparsebundle on my readynas and in finder it simply doesn't work. I've used timemachine to back up onto my readnas, but I want to delete it now, having backed up another way.


When you say browse to the volume in terminal, how do you do that? I've opened terminal but that's about where my knowledge ends!


Hope you can help,

Thanks.

How to delete a Sparsebundle. A Faster Way.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.