From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29622 invoked by alias); 21 Apr 2014 05:29:56 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18747 Received: (qmail 18040 invoked from network); 21 Apr 2014 05:29:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 X-POM: The Moon is Waning Gibbous (63% of Full) Date: Mon, 21 Apr 2014 17:22:43 +1200 (NZST) From: Atom Smasher To: meino.cramer@gmx.de cc: zsh-users@zsh.org Subject: Re: Weird directory (cd) In-Reply-To: <20140421050746.GA3848@solfire> Message-ID: References: <20140421050746.GA3848@solfire> OpenPGP: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Mon, 21 Apr 2014, meino.cramer@gmx.de 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/<> 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