Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 1998 13:56:41 +0000
From:      Eric Feillant <Eric.Feillant@image-nouvelle.fr>
To:        freebsd-questions@FreeBSD.ORG
Subject:   In Bourne SHell: How compare and test file size ???? URGENT
Message-ID:  <36596999.59E2B600@image-nouvelle.fr>

next in thread | raw e-mail | index | archive | help
Message-ID: <36594B8D.2781E494@image-nouvelle.fr>
Date: Mon, 23 Nov 1998 11:48:29 +0000
From: Eric Feillant <Eric.Feillant@image-nouvelle.fr>
X-Mailer: Mozilla 3.04 (X11; I; FreeBSD 3.0-RELEASE i386)
MIME-Version: 1.0
To: freebsd-questions@freebsd.org
Subject: How  compare and test file size ???? URGENT
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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?36596999.59E2B600>