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
[-- Attachment #1 --]
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
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=838195812-15102001>Like
so:</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=838195812-15102001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=838195812-15102001># cd
/network</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=838195812-15102001># tar
czf /backup/backup.tar.gz .</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=838195812-15102001>Notice
the dot (".") a the end of the 2nd line! That's important 'cos it refers
to the current directory (/network).</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=838195812-15102001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=838195812-15102001>Patrick.</SPAN></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
owner-freebsd-questions@FreeBSD.ORG
[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>
freebsd-questions@FreeBSD.ORG<BR><B>Subject:</B> TAR<BR><BR></DIV></FONT>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>How does one backup all the contents (files,
directories etc) of /network to a file named backup.tar.gz in
/backup??</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks, i'm puzzled,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Marcel</FONT></DIV></BLOCKQUOTE></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NDBBIMKICMDGDMNOOCAICEPHDKAA.patrick>
