[KLUG Members] Command line operators

Jamie McCarthy members@kalamazoolinux.org
Wed, 16 Jan 2002 13:57:53 -0500


ian@techfocus.net (Ian) writes:

> I specifically need (at this moment) the 'and' operator as in:
> 'find -name A* -and- B*'
> 
> But in any case i think it would be wise to learn some command
> line scripting.

This isn't command lines in general, it's the "find" command in
particular.  "man find" for details and examples.  You probably
want something like:

find /mydir -name 'foo*' -a -name '*bar' -a -mtime 1
--
 Jamie McCarthy
 jamie@mccarthy.vg