[KLUG Members] accessing linux dir with ' in name

bill bill at billtron.com
Fri Aug 26 15:30:16 EDT 2005


On Fri, 2005-08-26 at 15:24, Tony Gettig wrote:
> On Fri, 2005-08-26 at 15:13 -0400, bill wrote:
> > A windows user named a directory on with a single quote mark ('), as in
> > "joe's stuff".  The directory got copied to a samba server.
> > 
> > I'm trying to enter the directory to copy them over to another directory
> > and delete this one.  
> ....
> 
> The one variation I didn't see in your message is:
> 
> cd "joe\'s stuff" (encapsulated in quote marks, not apostrophe)

Actually had already tried that, didn't work.

> Also, try the old tab-complete trick. Type:
> 
> cd jo<TAB> 
> 
> and see if it autocompletes.

That worked!  And the magic line is:

cd joe\'s\ stuff


Thanks,

bill



More information about the Members mailing list