The best way to do a copy and make sure it all works is like this:

find . -print | cpio -pdmv <target directory>

--Drew Norman

On Thu, 10 Jun 1999, m. allan noah wrote:

> cp -a most assuredly works. gets me where i am going every time :)
> 
> allan
> 
> 
> Chris Jester <[EMAIL PROTECTED]> said: 
> 
> > I always use: cp -dpRv and it works just fine. :-)
> > 
> > 
> > 
> > At 4:32 PM -0700 6/10/99, David Robinson wrote:
> > >You did what?????
> > >
> > >cp -a????
> > >
> > >It gets them everytime:-)
> > >
> > >cp & symlinks are not friends...
> > >
> > >If you ever need to copy a directory or filesystem do a tar! It
> will not
> > >only keep the permissions & owner bits correct, It will also keep
> > >symlinks pointing the correct way..
> > >
> > >There is a trick to copy a directory from one place to another
> using tar
> > >but I can't remember it right now... something like:
> > >tar -cv . | (cd /newdir; tar -x --)
> > >I don't think that's it.... I'm sure someone else here knows it
> by
> > >heart:-)
> > >
> > >"Nixon, Shon" wrote:
> > >
> > >>
> > >>
> > >> I finally have both a RAID1 and RAID5 system up and running
> thanks to
> > >> the help of Mr. Allan Noah. I am however having trouble with
> symlinks
> > >> though. I tried to start X after I got the system up and
> running and
> > >> it would seem that xfs is having trouble finding fonts. I also
> tried
> > >> to compile dosemu to use X for xdos and it states that it can
> not find
> > >> the X11 libraries? I reinstalled X (several times) and it now
> works
> > >> (some functions are hairy though) but I still get the same
> message
> > >> with dosemu. My concern is that if X is having problems, then
> other
> > >> programs may also rear their ugly head with problems in the
> future. I
> > >> used cp -a copying each directory from root (/) one-by-one to a
> > >> /raidtest share (md0) that I created for the raid mount of
> root. I
> > >> also have /raidtest/usr (md2) ../home (md3) & ../var (md1) raid
> > >> mounts. Have I missed something here? This has happened with
> both
> > >> raid1 & 5.
> > >>
> > >> Shon Nixon
> > >> [EMAIL PROTECTED]
> > 
> > 
> > ****** PLEASE NOTE *******
> > OUR NEW ADDRESS AND TELEPHONE NUMBER:
> > 
> > SplitInfinity
> > 13553 Poway Rd. #1504
> > Poway, CA 92064
> > U.S.A.
> > 
> > OUR NEW PHONE NUMBER: 619-679-2814
> > 
> > All items should be mailed to this address from this moment
> forward.
> > 
> > Thank you.
> > 
> > Chris Jester
> > SplitInfinity
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> 

Reply via email to