[ale] Baffled on chmod usage

Brown, Matthew MBrown at msdemo.ms.gmsmail.com
Thu Aug 10 16:46:10 EDT 2000


Actually, i think i've had this one.  I believe you want:

chmod -Rv 555 ./*.exe

-----Original Message-----
From: Fulton Green [mailto:me at FultonGreen.com]
To: ale at ale.org
Sent: Thursday, August 10, 2000 04:29 PM
To: Jeff Hubbs
Cc: ale at ale.org
Subject: Re: [ale] Baffled on chmod usage


You may need to prepend * with a backslash, as in \*.exe .

On Thu, Aug 10, 2000 at 04:25:56PM -0400, Jeff Hubbs wrote:
> I want to chmod all the .exe files within and below the directory
"public,"
> so I go:
> 
> 	# cd /<path>/public
> 	# chmod -Rv 555 *.exe
> 
> but I get
> 
> 	chmod: *.exe: No such file or directory
> 
> FWIW, there are no .exe files in public, but there are many of them
> scattered in directories underneath public.  What I especially don't
> understand is that if I go 
> 
> 	# chmod -Rv 555 *
> 
> then everything and its brother in public and below gets chmodded.  I can
> use some other extension besides .exe that I know is present but I still
get
> No such file or directory.
> 
> Am I misusing wildcards in bash or something?
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message
body.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list