From owner-freebsd-questions Wed May 8 20:34:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA04100 for questions-outgoing; Wed, 8 May 1996 20:34:44 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA04083 for ; Wed, 8 May 1996 20:34:39 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id NAA01970; Thu, 9 May 1996 13:03:59 +0930 From: Michael Smith Message-Id: <199605090333.NAA01970@genesis.atrad.adelaide.edu.au> Subject: Re: Please Help ... I am locked out of a FreeBSD machine To: fqueries@jraynard.demon.co.uk (James Raynard) Date: Thu, 9 May 1996 13:03:57 +0930 (CST) Cc: kelly@fsl.noaa.gov, branson@longstreet.larc.nasa.gov, dbrockus@m1.sprynet.com, freebsd-questions@freebsd.org In-Reply-To: <199605082351.XAA05737@jraynard.demon.co.uk> from "James Raynard" at May 8, 96 11:51:16 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk James Raynard stands accused of saying: > > Branson> chmod 644 -R .??* > > I prefer chmod 644 -R .[a-zA-Z]* myself > > > Branson> the '?'s will require two characters in the file > > Branson> name.. not just one which very effectively skips '.' and > > Branson> '..'. > > > > But it unfortunately misses all entries with a name of . followed by a > > single character: .a, .b, .c, etc. But, hey, close enough! Do those > > by hand, I say! > > You forgot the upper case ones 8-) glob glob glob glob, glob glob glob glob... # chmod 644 -R .[^.]* * (csh at least) -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[