Re: problem with & in directory names

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Tue, 20 Apr 2010 12:29:12 +1000

On Sun, 18 Apr 2010 13:40:24 +0200
Anders Lagerås <anders.lageras@xxxxxxxxx> wrote:

> If there is a &-charachter in a directory name and I try to navigate in
> to it, I get this error message:
> sh>cd /download/1_&_1  (8816)
> /bin/bash: line 0: cd: /download/1_: No such file or directory
> /bin/bash: _1: command not found
> sh>cd /download/1_&_1 (8816) returned '127'
> How can I get it to work?

Does it help to quote the filepath ? (probably: cd %f instead of cd %%f)

Regards
Tom


--
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: