Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Weird directory (cd)



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