From owner-freebsd-questions Sun May 10 21:23:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA05530 for freebsd-questions-outgoing; Sun, 10 May 1998 21:23:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dt050n33.san.rr.com (@dt053nd2.san.rr.com [204.210.34.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA05522 for ; Sun, 10 May 1998 21:23:15 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt050n33.san.rr.com (8.8.8/8.8.8) with ESMTP id VAA16447; Sun, 10 May 1998 21:18:38 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <35567C1E.5C3A9679@dal.net> Date: Sun, 10 May 1998 21:18:38 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-STABLE-0507 i386) MIME-Version: 1.0 To: Andrew Specht CC: freebsd-questions@FreeBSD.ORG Subject: Re: gzip and date??? References: <02a601bd7c7f$42908420$e34a05cb@alpine.iaccess> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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