I seem to have four "snapshot" files.... .png, xpm, kml, geo. Do I want to change the snapshot.jpg to snapshot.png in the code from Carl?

An then ( just to show how ignorant I am....), what do I do with this code? ... No, I am not kidding. Do I type it in the terminal with the "sudo chmod 666 /dev/ttyS0" before I start xastir?

You guys are great!

Thanks..............jt

Curt, WE7U wrote:
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.

_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

Reply via email to