From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653641822091.tru64-unix-managers.marc@archive.invalid> From: Chris Ford Date: Wed, 31 Oct 2001 03:45:59 +0000 To: tru64-unix-managers Subject: [Summary] TAR Question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653641822091 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary_(ID_OpO0VQySIftxue5/TyQDLQ)" 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
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)--