[Xastir] Saving serial snapshots
Curt, WE7U
archer at eskimo.com
Wed Apr 15 21:12:47 EDT 2009
On Thu, 16 Apr 2009, Carl Makin wrote:
> #!/bin/sh
>
> RIGHTNOW=`date +%Y%M%d%H%M`
>
> if [ -f 'snapshot.jpg' ]; then
> mv snapshot.jpg archive/snapshot-$RIGHTNOW.jpg
> fi
I was going to use the Unix Epoch timestamps, and check that the
file was actually done being written, but yea, that's the idea.
--
Curt, WE7U. archer at eskimo dot com
http://www.eskimo.com/~archer
Lotto: A tax on people who are bad at math. - unknown
Windows: Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir
mailing list