[Xastir] Xastir Logs

Rice, MA Mark @ IS mark.rice at L-3com.com
Mon May 21 17:02:06 EDT 2007


I like this, Cranz.  This is what I'd like to use.

It's been awhile since I played with cron jobs.  I'm more of a Linux
hack (not hacker... Just a hack, i.e., an amateur, newbie or entry level
student of Linux).

- Mark
N4CMB

-----Original Message-----
From: xastir-bounces at xastir.org [mailto:xastir-bounces at xastir.org] On
Behalf Of Cranz Nichols
Sent: Saturday, May 19, 2007 6:24 PM
To: LIST - Xastir
Subject: [Xastir] Xastir Logs

This is what I use.  Works for me.  Theoretically, you get a year's
worth of logs.

Script segment from a daily cron job:


# deal with the xastir logs first
echo -e "\nStoring the Xastir log by Julian date...             "
cd /home/cnichols/.xastir/logs
for LOG in *.log
do
mv $LOG /home/cnichols/.Trash/$LOG.`date +%j` done #


Note that I have a handy-dandy directory called ".Trash" to put them in.

YMMV.

cln
WB5BKL
WB5BKL-2
WB5BKL-3

_______________________________________________
Xastir mailing list
Xastir at xastir.org
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir



More information about the Xastir mailing list