From owner-freebsd-questions Wed Aug 21 13:25:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F338437B401 for ; Wed, 21 Aug 2002 13:25:50 -0700 (PDT) Received: from mailout6.nyroc.rr.com (mailout6-1.nyroc.rr.com [24.92.226.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DBA943E9C for ; Wed, 21 Aug 2002 13:25:47 -0700 (PDT) (envelope-from met@uberstats.com) Received: from SURVIVAL (rrcs-nys-24-97-200-196.biz.rr.com [24.97.200.196]) by mailout6.nyroc.rr.com (8.11.6/RoadRunner 1.20) with ESMTP id g7LKPjC24946 for ; Wed, 21 Aug 2002 16:25:45 -0400 (EDT) From: "MET" To: "'freebsd-questions-en'" Subject: Forcing an Overwrite Date: Wed, 21 Aug 2002 16:30:55 -0400 Message-ID: <004201c24951$a6e6d700$6901a8c0@SURVIVAL> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here is my shell script: ====================================== #!/bin/sh DATE=`date +%m-%d-%Y`; ARCHIVED="MP_Site_Files-$DATE.tar"; cd /usr/local/webroot/; tar -cvf $ARCHIVED mp_stable; yes|gzip -9 $ARCHIVED; ====================================== Here is what I get spitted out. gzip: MP_Site_Files-08-21-2002.tar.gz already exists; not overwritten Any ideas on how to make it over-write without flaw? ~ Matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message