Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Minor correction (escape the spaces!)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Minor correction (escape the spaces!)
Authored by: dethbunny on Feb 01, '08 06:32:59PM

In the above commands, there are a few instances of "Time Machine" as an argument. As it's one operand, it needs to have the space escaped with a backslash to prevent the shell from interpreting "Time" and "Machine" as different operands.

For example, the "cd /Volumes/Time Machine/Backups.backupdb" should be correctly stated "cd /Volumes/Time\ Machine/Backups.backupdb" to work. It's a subtle difference, but Terminal is a subtle creature.

[ Reply to This | # ]
Minor correction (escape the spaces!)
Authored by: jjm3 on May 21, '08 02:31:46PM

Thanks for the excellent hint and tutorial. I have that exact problem (a repaired MBP with a new logic board that I want to link back to my pre-existing Time Machine backups of its hard disk), and I'm sure your handy guide'll fix my issue, but I'm running into one stumbling block during the "reset the extended attribute on the backup store" terminal command, most likely do to my own ignorance.

My MBP's backed up hard disk (and therefore its backup's name) has a space in it: "JackBook Pro." Thus, looking at my backup disk in the Finder, you get the path: jack_machine > Backups.backupdb > JackBook Pro. (The FW800 Time Machine backs up to is named "jack_machine.")

When I type in the reset command and end it in "Backups.backupdb/JackBook Pro" I get the messages that the volumes "JackBook" and "Pro" can't be found. When I type it as "JackBook\Pro" as your addendum suggests, I get the message that "JackBookPro" can't be found. And finally, when I try "JackBookPro," similarly no dice.

Any thoughts on what I, an utter novice at Terminal use, am doing incorrectly would be infinitely and gushingly appreciated. Thank you. :-)

PS: Next time, I'm gonna not use spaces in hard disk names!

[ Reply to This | # ]
Minor correction (escape the spaces!)
Authored by: chris_on_hints on May 23, '08 10:46:57AM

put any names in quotes:

'/Volumes/Name of a drive with a space in it/my files/etc'


use a backslash in front of the space:
/Volumes/JackBook\ Pro/

either should work.

Spaces in terminal commands are a bit of a pain, be careful!

[ Reply to This | # ]
Minor correction (escape the spaces!)
Authored by: jjm3 on May 23, '08 10:58:38PM

Thank you!

I got my backup back up and running, thanks to your advice (and the original hint too, of course).

I appreciate the help! YAY!

[ Reply to This | # ]