Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2001 18:12:46 -0800
From:      "Ballard Jonathan H" <sacramentokidd@yahoo.com>
To:        <questions@freebsd.org>
Subject:   cp -pPR
Message-ID:  <000d01c09f99$9d05f580$0400a8c0@vectra>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Dear FreeBSD Regents,

Yesterday to duplicate directory structures from one mount to another the `cp -pPR` command was used.  Everything except the directory times and few files with 'schng' where duplicated without any problems reported.  The files with the 'schng' flags were duplicated except yet returned 'warnings'.  Zero length 'schng' files (/var/pwcheck/pwcheck) reported an error while duplicated.  Directory dates were updated yet the orginal directory dates was expected to be duplicated.

Is there another method to acheived desired results?

$ uname -a
FreeBSD abyss.cybertronix.org 4.2-STABLE FreeBSD 4.2-STABLE #3: Wed Dec 13 09:33:45 PST 2000    root@abyss.cybertronix.org:/usr/src/sys/compile/CYBETRONIX  i386

[-- Attachment #2 --]
<!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 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear FreeBSD Regents,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Yesterday to duplicate directory structures from 
one mount to another the `cp -pPR` command was used.&nbsp; Everything except the 
directory&nbsp;times and few files with 'schng' where duplicated without any 
problems reported.&nbsp; The files with the 'schng' flags were duplicated except 
yet returned 'warnings'.&nbsp; Zero length 'schng' files (/var/pwcheck/pwcheck) 
reported an error while duplicated.&nbsp; Directory dates were updated yet the 
orginal directory dates was expected to be duplicated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is there another method to acheived desired 
results?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>$&nbsp;uname -a</FONT></DIV>
<DIV><FONT face=Arial size=2>FreeBSD abyss.cybertronix.org 4.2-STABLE FreeBSD 
4.2-STABLE #3: Wed Dec 13 09:33:45 PST 2000&nbsp;&nbsp;&nbsp;&nbsp;<A 
href="mailto:root@abyss.cybertronix.org:/usr/src/sys/compile/CYBETRONIX">root@abyss.cybertronix.org:/usr/src/sys/compile/CYBETRONIX</A>&nbsp; 
i386</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000d01c09f99$9d05f580$0400a8c0>