Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 09:31:06 -0000
From:      "Philip Pereira" <info@wintellect.co.uk>
To:        <freebsd-questions@freebsd.org>
Subject:   Tar archive
Message-ID:  <005301c19e70$8b6eba60$b09401d4@wintellect.com>

next in thread | raw e-mail | index | archive | help
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hey =
"smart-ones-of-FreeBSD"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a question regarding the "tar"=20
command.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>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.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Many thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Phil.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0050_01C19E70.860FE940--


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?005301c19e70$8b6eba60$b09401d4>