Tuesday 5 December 2017

linux - How can I bind mount a directory with a space in it?

I have a drive mounted at /media/ that contains a directory with a space in the name - let's call it "My Stuff".


I would like to bind mount it to "My Stuff" in my home directory. I tried the following in fstab, but all attempts to mount resulted in a syntax error:


/media/My\ Stuff /home/me/My\ Stuff none bind
"/media/My\ Stuff" "/home/me/My\ Stuff" none bind
"/media/My Stuff" "/home/me/My Stuff" none bind

Is there a way to do this?

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...