Trouble with find

schwager at m.cs.uiuc.edu schwager at m.cs.uiuc.edu
Tue Aug 1 06:56:00 AEST 1989


I'm trying to get a find command to work.  I can't figure out how to use
the negation operator.  Here's what I've typed in:
	find . \! -atime 300 -print
In other words, all I want to do is find everything that I've not accessed
in 300 days.  Of course, I could do something like this:
	find . -atime +300 -print
which does exactly what I want it to do.  But this is not very educational,
nor will it help me the next time I try to use the negation operator.

So, wise people, can you tell me what is wrong with my firstmost find
command?  Equally as important, could you tell me what to do that would
make it right?  Thanks!  Please send me e-mail...  
-Mike Schwager				schwager at a.cs.uiuc.edu
-- {uunet,convex,pur-ee}!uiucdcs!schwager   schwager%uiuc at csnet-relay.arpa
	University of Illinois, Dept. of Computer Science



More information about the Comp.unix.questions mailing list