Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 1998 11:48:29 +0000
From:      Eric Feillant <Eric.Feillant@image-nouvelle.fr>
To:        freebsd-questions@FreeBSD.ORG
Subject:   How  compare and test file size ???? URGENT
Message-ID:  <36594B8D.2781E494@image-nouvelle.fr>

next in thread | raw e-mail | index | archive | help
hi,

can someone help me about this ==>

I have a directory named "dir1" with some files and subdir
inside.

Some users can generate new files or modify files in these
"dir" directory.

How can i write a script that coud be run every 15 minutes
that test that files has been modified and / or created ?

i thout that some script shell with awk coud do that for me =>

ls -lR dir1 | awk '{print $5, $9} | while read A B
do ..... something ....
test current file size with old file size ...then ...???


Thanx for help me.

eric

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36594B8D.2781E494>