From: Chris Ford <crford () swbell ! net>
To: tru64-unix-managers
Subject: [Summary] TAR Question
Date: Wed, 31 Oct 2001 03:45:59 +0000 [thread overview]
Message-ID: <102653641822091.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--Boundary_(ID_OpO0VQySIftxue5/TyQDLQ)", Size: 3541 bytes --]
This is a multi-part message in MIME format.
--Boundary_(ID_OpO0VQySIftxue5/TyQDLQ)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
The solution to this problem was that it can't be done with tar. But using cpio will allow me to do exactly this. Many thanks to Bob Bumpus for this solution, and everyone else who responded.
Chris
----- Original Message -----
From: Chris Ford
To: tru64-unix-managers@ornl.gov
Sent: Tuesday, October 30, 2001 7:33 PM
Subject: TAR Question
I have a situation in which I want to create a .tar file of a group of users home directories on box number 1 and move them to box number 2 to be untarred. The problem is that I don't want any existing files on box number 2 to be overwritten if they are newer than the what's in the tar. But I do want it to overwrite older files. I'm not sure if I am going to run into this problem, and I don't have a real word situation that I can test it in. But in some quick and dirty tests it overwrote all files regardless of the date. Is this possible, or is this the default behavior and I'm making a big deal out of nothing. Thanks in advance....
Chris
--Boundary_(ID_OpO0VQySIftxue5/TyQDLQ)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2479.6" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>The solution to this problem was that it can't be
done with tar. But using cpio will allow me to do exactly this. Many
thanks to Bob Bumpus for this solution, and everyone else who
responded.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Chris</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=crford@swbell.net href="mailto:crford@swbell.net">Chris Ford</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=tru64-unix-managers@ornl.gov
href="mailto:tru64-unix-managers@ornl.gov">tru64-unix-managers@ornl.gov</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, October 30, 2001 7:33
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> TAR Question </DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I have a situation in which I want to create a
.tar file of a group of users home directories on box number 1 and move them
to box number 2 to be untarred. The problem is that I don't want
any existing files on box number 2 to be overwritten if they are newer than
the what's in the tar. But I do want it to overwrite older files.
I'm not sure if I am going to run into this problem, and I don't have a real
word situation that I can test it in. But in some quick and dirty tests
it overwrote all files regardless of the date. Is this possible, or is
this the default behavior and I'm making a big deal out of
nothing. Thanks in advance....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Chris</FONT></DIV></BLOCKQUOTE></BODY></HTML>
--Boundary_(ID_OpO0VQySIftxue5/TyQDLQ)--
reply other threads:[~2001-10-31 3:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox