Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 May 1998 21:18:38 -0700
From:      Studded <Studded@dal.net>
To:        Andrew Specht <andrew@iaccess.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: gzip and date???
Message-ID:  <35567C1E.5C3A9679@dal.net>
References:  <02a601bd7c7f$42908420$e34a05cb@alpine.iaccess>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Specht wrote:
> 
> hey,
> 
> Would anyone know how to make gzip include the date in the zipped file?
> 
> eg:
> 
> cache.log  >> cache.log.gz.050598
> 
> does that work?  nothing in the man pages about it.

	gzip caris-stats -S .`date +%m%d%y`.gz

Make sure to put the .gz at the end otherwise gunzip seems to have
trouble decoding it. 

Doug
-- 
***         Chief Operations Officer, DALnet IRC network       ***
*** Proud designer and maintainer of the world's largest Internet
***    Relay Chat server with 5,328 simultaneous connections.
*** Try spider.dal.net on ports 6662-4    (Powered by FreeBSD)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35567C1E.5C3A9679>