*BSD News Article 75617


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!alpha.sky.net!news.sprintlink.net!news-chi-13.sprintlink.net!news-res.gsl.net!news.gsl.net!hunter.premier.net!op.net!news.mathworks.com!newsfeed.internetmci.com!in3.uu.net!psinntp!psinntp!psinntp!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Best way to copy directory trees
Date: 5 Aug 1996 16:40:38 +0100
Organization: Coverform Ltd.
Lines: 12
Message-ID: <4u54lm$li@anorak.coverform.lan>
References: <ts-0108961559090001@mac.infodirekt.de> <gergDvH52n.6K9@netcom.com>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Greg Andrews (gerg@netcom.com) wrote:

: I've always used:

:   cd /path/to/old/dir
:   find . -depth -print | cpio -pdmv /path/to/new/dir

I'd add a 'u' to the -p.

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....