Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2002 12:49:20 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Beech Rintoul <akbeech@anchoragerescue.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Copying directories contents 
Message-ID:  <20021001194920.212935D04@ptavv.es.net>
In-Reply-To: Your message of "Tue, 01 Oct 2002 09:55:34 -0800." <200210010955.35018.akbeech@anchoragerescue.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Beech Rintoul <akbeech@anchoragerescue.org>
> Date: Tue, 1 Oct 2002 09:55:34 -0800
> Sender: owner-freebsd-questions@FreeBSD.ORG
> 
> I'm need to take the contents including dotfiles from about 300 user 
> directories and move them into another set of identical directories on 
> another filesystem. Is there an easy script to do this? I dont want to 
> overwrite the contents of the target directories just add to them.
> Both filesystems are mounted on the source machine.

/usr/ports/net/rsync? It is vastly more efficient than copying
file-by-file or even than using rat(1) and copying the single
file. rsync(1) must be installed on both systems.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021001194920.212935D04>