From owner-freebsd-questions Wed Jan 16 1:27:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp-1.visp.telinco.net (smtp-1.visp.telinco.net [212.1.130.1]) by hub.freebsd.org (Postfix) with ESMTP id 2531C37B404 for ; Wed, 16 Jan 2002 01:27:25 -0800 (PST) Received: from [212.1.148.176] (helo=me01) by smtp-1.visp.telinco.net with smtp (Exim 3.32 #1) id 16QmFA-0001TV-00 for freebsd-questions@freebsd.org; Wed, 16 Jan 2002 09:20:29 +0000 Message-ID: <005301c19e70$8b6eba60$b09401d4@wintellect.com> From: "Philip Pereira" To: Subject: Tar archive Date: Wed, 16 Jan 2002 09:31:06 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0050_01C19E70.860FE940" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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_0050_01C19E70.860FE940 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hey "smart-ones-of-FreeBSD" I have a question regarding the "tar" command. I am able to archive all files within a folder and create a resultant = tar file on my hard disk. However, how do I create a tar file which = stores all files in a folder, including sub-folders,=20 For example, how would I create a tar archive for the entire "/usr" = folder, including sub-folders and files - so that restoration of that = archive would restore all files in the /usr folder in their correct = location or sub-folder. Many thanks Phil. ------=_NextPart_000_0050_01C19E70.860FE940 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hey = "smart-ones-of-FreeBSD"
 
I have a question regarding the "tar"=20 command.
 
I am able to archive all files within a = folder and=20 create a resultant tar file on my hard disk. However, how do I create a = tar file=20 which stores all files in a folder, including sub-folders,
 
For example, how would I create a tar = archive for=20 the entire "/usr" folder, including sub-folders and files - so that = restoration=20 of that archive would restore all files in the /usr folder in their = correct=20 location or sub-folder.
 
Many thanks
 
Phil.
------=_NextPart_000_0050_01C19E70.860FE940-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message