Jump to content

Can't Delete Time Machine Sparsebundle


mgoh99

Recommended Posts

Posted

Hi

 

I'm having a problem deleting an existing sparsebundle from my unraid server.  My macbook pro could not longer successfully backup to it so I wanted to clear it out and begin fresh.  The problem is that I cannot delete the sparsebundle via finder or telnet.  This is what comes up after issuing the 'ls' command

 

Markâs\ MacBook\ Pro.sparsebundle/

 

however, if i reference the sparsebundle like that, it doesn't work (I get no file / folder with that name).  I need reference it as follows:

 

Mark's\ MacBook\ Pro.sparsebundle/

 

The problem is once I do that, telnet hangs.  I've tried a number of things including

 

- removing the folder with "rm -r -f ..."

- deleting the parent directory with the same command

- repairing permissions

 

I'm stuck here and was hoping someone could point me the right direction

 

Posted

the issue is the name with the foreign character.

 

A single quote mark (the apostrophe) is interpreted by the shell.  It is what is making you think the server locks up, since it is waiting for you to type the closing quite mark.

 

You can remove the file by using a combination of the "rm" command and a wild-card character that represents a single character.

 

cd "whateverDirectoryTheSparseBundleDirectory resides in"

rm -r "Mark?s MacBook Pro.sparsebundle/"

Note I used a "?" in place of the one character you are having problems with and deleted the backslashes preceeding the spaces since the entire name is in quote marks.

 

or, you can simply type

mc

and use midnight commander to delete the sparesbundle directory.

 

 

Joe L.

 

 

 

 

  • 4 months later...
Posted

So having this same issue again but this time Joe's solution isn't working.  This is the readout from ls

 

Mark’s\ MacBook\ Pro.sparsebundle/  Network\ Trash\ Folder/  Temporary\ Items/

 

but when I enter Joe's command I get

 

rm: cannot remove `Mark?s MacBook Pro.sparsebundle/'

 

when I enter

 

rm -r Mark's\ MacBook\ Pro.sparsebundle/

 

it just hangs again.  Any chance you have another tip Joe?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...