From owner-freebsd-questions Mon Oct 15 6: 2:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mip.co.za (puck.mip.co.za [209.212.106.44]) by hub.freebsd.org (Postfix) with ESMTP id BC9B137B407 for ; Mon, 15 Oct 2001 05:58:52 -0700 (PDT) Received: from patrick (patrick.mip.co.za [10.3.13.181]) by mip.co.za (8.9.3/8.9.3) with SMTP id OAA94308; Mon, 15 Oct 2001 14:56:45 +0200 (SAST) (envelope-from patrick@mip.co.za) From: "Patrick O'Reilly" To: "Marcel DIjk" , Subject: RE: TAR Date: Mon, 15 Oct 2001 15:00:40 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0027_01C1558A.27A8B460" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <045301c15576$ceb40250$0200a8c0@testuser> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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 This is a multi-part message in MIME format. ------=_NextPart_000_0027_01C1558A.27A8B460 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Like so: # cd /network # tar czf /backup/backup.tar.gz . Notice the dot (".") a the end of the 2nd line! That's important 'cos it refers to the current directory (/network). Patrick. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Marcel DIjk Sent: 15 October 2001 14:42 To: freebsd-questions@FreeBSD.ORG Subject: TAR Hello, How does one backup all the contents (files, directories etc) of /network to a file named backup.tar.gz in /backup?? Thanks, i'm puzzled, Marcel ------=_NextPart_000_0027_01C1558A.27A8B460 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Like=20 so:
 
# cd=20 /network
# tar=20 czf /backup/backup.tar.gz .
 
Notice=20 the dot (".") a the end of the 2nd line!  That's important 'cos it = refers=20 to the current directory (/network).
 
Patrick.
-----Original Message-----
From:=20 owner-freebsd-questions@FreeBSD.ORG=20 [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Marcel = DIjk
Sent: 15 October 2001 14:42
To:=20 freebsd-questions@FreeBSD.ORG
Subject: = TAR

Hello,
 
How does one backup all the contents = (files,=20 directories etc) of /network to a file named backup.tar.gz in=20 /backup??
 
Thanks, i'm puzzled,
 
Marcel
------=_NextPart_000_0027_01C1558A.27A8B460-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message