D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

RE: [LUG] monitoring a file

 

>I was planning to use "find" to get the actual files and then I want to 
be able to filter the report to ignore files that I know it is ok for 
them to change
 
Try the mtime option to find.  for example:
 
find . -mtime 0
 
will list files in the current directory modified in the last 24 hours (-1
also works).  Also look at -daystart (if your version of find has it), and
other options.
 
Clive


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

<<application/ms-tnef>>