Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 1996 13:03:57 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        fqueries@jraynard.demon.co.uk (James Raynard)
Cc:        kelly@fsl.noaa.gov, branson@longstreet.larc.nasa.gov, dbrockus@m1.sprynet.com, freebsd-questions@freebsd.org
Subject:   Re: Please Help ... I am locked out of a FreeBSD machine
Message-ID:  <199605090333.NAA01970@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199605082351.XAA05737@jraynard.demon.co.uk> from "James Raynard" at May 8, 96 11:51:16 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605090333.NAA01970>