Subject: Re: copying entire directory to another filesystem
To: Soren S. Jorvang <soren@wheel.dk>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: current-users
Date: 05/23/2000 11:10:30
On Tue, May 23, 2000 at 10:04:49AM +0200, Soren S. Jorvang wrote:
> On Tue, May 23, 2000 at 03:01:18AM -0500, Mocha wrote:
> > > > 1. how do i move a _directory_ from one filesystem to another and keep all
> > > > the same owner, permissions? 'cp -R' seems really slow.
> 
> pax -rwpe foo bar
Hmm. Does pax deal hardlinks right?

Anyway, I use dump|restore:
dump 0f - <dir1>|(cd <dir2>;restore xf -)

-- 
Dies ist Thilos Unix Signature! Viel Spass damit.