Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 15:00:40 +0200
From:      "Patrick O'Reilly" <patrick@mip.co.za>
To:        "Marcel DIjk" <nascar24@home.nl>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: TAR
Message-ID:  <NDBBIMKICMDGDMNOOCAICEPHDKAA.patrick@mip.co.za>
In-Reply-To: <045301c15576$ceb40250$0200a8c0@testuser>

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D838195812-15102001>Like=20
so:</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D838195812-15102001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D838195812-15102001># cd=20
/network</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D838195812-15102001># tar=20
czf /backup/backup.tar.gz .</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D838195812-15102001>Notice=20
the dot (".") a the end of the 2nd line!&nbsp; That's important 'cos it =
refers=20
to the current directory (/network).</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D838195812-15102001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D838195812-15102001>Patrick.</SPAN></FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px">
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  owner-freebsd-questions@FreeBSD.ORG=20
  [mailto:owner-freebsd-questions@FreeBSD.ORG]<B>On Behalf Of </B>Marcel =

  DIjk<BR><B>Sent:</B> 15 October 2001 14:42<BR><B>To:</B>=20
  freebsd-questions@FreeBSD.ORG<BR><B>Subject:</B> =
TAR<BR><BR></DIV></FONT>
  <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>How does one backup all the contents =
(files,=20
  directories etc) of /network to a file named backup.tar.gz in=20
  /backup??</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks, i'm puzzled,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>Marcel</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0027_01C1558A.27A8B460--


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?NDBBIMKICMDGDMNOOCAICEPHDKAA.patrick>