Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird directory (cd)
- X-seq: zsh-users 18747
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: meino.cramer@xxxxxx
- Subject: Re: Weird directory (cd)
- Date: Mon, 21 Apr 2014 17:22:43 +1200 (NZST)
- Cc: zsh-users@xxxxxxx
- In-reply-to: <20140421050746.GA3848@solfire>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
- References: <20140421050746.GA3848@solfire>
On Mon, 21 Apr 2014, meino.cramer@xxxxxx wrote:
on a sdcard there is a directory which name looks like
##CARD#
when listed with 'ls'.
I did a
cd \#\#CARD\#
and got back
cd:10: bad pattern: ##CARD#
zsh: exit 1
. Am I completly blind this morning or...
What do I wrong here?
==================
try this:
cd *CARD*([1])
or get more info about the dir:
stat *CARD*
or if you really get stuck, this usually works:
cd /path/to/files/<<TAB>>
and just keep TABbing until you see what you want.
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"Government is not reason, it is not eloquence, it is force;
like fire, a troublesome servant and a fearful master. Never
for a moment should it be left to irresponsible action."
-- George Washington
Messages sorted by:
Reverse Date,
Date,
Thread,
Author