[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: offtopic cron/mozilla question



Hmm. I don't seem to ever have gotten the original post.  Seems to be happening
to me quite a bit.  I wonder why...

kmself@ix.netcom.com writes:

> On Thu, Oct 05, 2000 at 11:08:37AM -0700, David Erdman (derdman@forensica.com)
> wrote:
> 
> > cd /usr/local
> > rm -rf /usr/local/package
> > wget
> ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz

Since the nightlies are unstable, I like to save them as different file names,
based on the date, and then if today's is usable, I'll delete yesterday's
tarball.  Here's part of my script:

packagename=mozilla-M18-`date +%Y%m%d`.tar.gz
wget http://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu.tar.gz --output-document=$packagefile
tar xzf $packagename

It will save the file as, for example, mozilla-M18-20001005.tar.gz for today's
date.

Hubert

-- 
____     |     -----------------------------------------------------------
|  /   --+--
| /   ___|___    Hubert Chan <hackerhue@crosswinds.net>
| \   | _|_ |
|__|  |__|__|    GCS/M d- s:- a-- C++ UL+(++++) P++ L++ E++ W++ N++ o?
|        |       K? w--- O++ M- V- PS-- PE+++ Y+ PGP+ t+ 5 X R- tv+ b+
|      / | \     DI++++ D G e++ h! !r !y
|     /  |  \
|        |     <><------------------ http://www.crosswinds.net/~hackerhue/

PGP/GnuPG fingerprint: 6CC5 822D 2E55 494C 81DD  6F2C 6518 54DF 71FD A37F
Key can be found at http://www.crosswinds.net/~hackerhue/hackerhue.asc

Experience the Power to Change -- http://www.powertochange.org/
CAUCE member -- Stop Spam! -- http://www.cauce.org/
Linux: Where do you want to go tomorrow? -- http://www.linux.com/
International Alliance for Compatible Technology -- http://www.iact.net/



Reply to: