[olug] Unix Tip: GET THE HIDDEN FILES

Jeremy Bettis jeremyb at hksys.com
Wed Nov 20 20:12:09 UTC 2002


If you are using ls then use ls -A simpler and more reliable.


--
Jeremy Bettis, Software Development Manager
HKS Medical Information Systems, Inc.
jeremyb at hksys.com


> -----Original Message-----
> From: Trent Melcher [mailto:tmelcher at trilogytel.com]
> Sent: Wednesday, November 20, 2002 1:58 PM
> To: olug at olug.org
> Subject: RE: [olug] Unix Tip: GET THE HIDDEN FILES
> 
> Just use it with the ls command:  ls .??*
> 
> -----Original Message-----
> From: olug-admin at olug.org [mailto:olug-admin at olug.org] On Behalf Of CM
> Miller
> Sent: Wednesday, November 20, 2002 1:20 PM
> To: olug at olug.org
> Subject: Re: [olug] Unix Tip: GET THE HIDDEN FILES
> 
> 
> 
> Can someone give an example on how to use this '.??*'
> 
> 
> I'm familiar with find and slocate but not the command
> above.
> 
> thanks
> 
> -Chris
> 
> 
> 
> 
> --- Unix Guru Universe <listserv at ugu.com> wrote:
> >
> >
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> > 			      UNIX GURU UNIVERSE
> > 			         UNIX HOT TIP
> >
> > 			Unix Tip 2150 - November 20, 2002
> >
> > 		    http://www.ugu.com/sui/ugu/show?tip.today
> >
> >
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> >
> > GET THE HIDDEN FILES
> >
> > A safe way of grabbing all "hidden" files is to use
> > '.??*'
> > rather than '.*' since this will only match 3 or
> > more
> > characters.  Admittedly, this will miss any hidden
> > files
> > that are only a single character after the ., but it
> > will always miss '.' & '..', which is probably more important...
> >
> > This tip generously supported by:
> > leopard at midwinter.com
> >
> >
> >
> >
>
------------------------------------------------------------------------
> --
> > To Subscribe:
> > http://www.ugu.com/sui/ugu/show?tip.subscribe
> > To Unsubscribe:
> > http://www.ugu.com/sui/ugu/show?tip.unsubscribe
> > To Submit A Tip:
> > http://www.ugu.com/sui/ugu/show?tip.today
> >
> >
>
========================================================================
> ==
> > DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX
> > GURU UNIVERSE AND ARE
> > NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN
> > CONSENT OF THE UNIX
> > GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK".
> > UGU  ADVISES THAT
> > ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT
> > ENVIRONMENT FIRST.
> >
> > Unix Guru Universe - www.ugu.com - tips at ugu.com -
> > Copyright 1994-2001
> >
>
========================================================================
> ==
> >
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > http://lists.olug.org/mailman/listinfo/olug
> 
> 
> =====
> *****************************************
> GAIM ID:  cmmiller1973
> *****************************************
> 
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
> 
> 
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug



More information about the OLUG mailing list