need short unix program

[ Available lists | Index of freebsd-newbies | Month of Aug 1999 | Week of 2 Aug 1999 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Istvan & Agra Baroti <baroti@icmct.uvt.ro>
Date
2 Aug 1999 11:52:05
Subject
need short unix program
Message-ID
Pine.BSF.3.96.990802212343.54065B-100000@icmct.uvt.ro

In reply to
Replies

[ Hide this part ]
 
help me!

i want to make a program which allow to copy a file:

/usr/myname/webcamera.jpg

to a file:

/usr/myname/mydirectory/current_date.jpg

AT EVERY 10 SECONDS.

The current_date string must include HH/MM/.ss because I want to make an
archive directory /usr/myname/mydirectory/ with photos taken every 10
seconds at the 11 August Solar Eclipse with a webcamera on our Unix
FreeBSD 3.1 server. The webcamera produces a webcamera.jpg file EVERY TIME
WITH THE SAME NAME: webcamera.jpg AND OVERWRITE IT. I WANT TO SAVE THESE
pictues/FILES WITH NEW NAME: current_date.jpg but I don't know how to
extract a strig from the date command.

please help.

#!/bin/sh





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



Elapsed time: 0.226 seconds