Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

esskay

macrumors 6502
Original poster
Jan 3, 2008
308
7
I have a Time Machine sparsebundle with a curly quote in the filename

e.g. /Volumes/timemachine/esskay’s MacBook Pro.sparsebundle

I am trying to work on the file from Terminal. While logged in normally, I can type in the curly quote and access files with curly quotes (by double quoting the entire file path)

But when I log in as root (e.g. # sudo su - ), I can no longer enter the curly quote that is part of the filepath so am unable to access the file.

Can anybody please help me?! Thanks!

Incidentally, this is what I am trying to do:

http://www.garth.org/archives/2011,...ine-sparsebundle-nas-based-backup-errors.html
 

chrfr

macrumors G5
Jul 11, 2009
13,520
7,043
That's happening because you're changing from the default shell of bash to sh. Type
Code:
sudo -s
instead of
Code:
sudo su -
to stay in bash, and then everything will work as it normally does.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.