httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: Portability: cp -R or cp -r or what?
Date Sat, 11 Apr 1998 15:23:39 GMT
Ralf S. Engelschall wrote:
> 
> In article <352E6069.A41C079F@algroup.co.uk> you wrote:
> > Ralf S. Engelschall wrote:
> 
> >>  3. (cd $(ROOT)/htdocs/; find . -depth -print | cpio -o) |\
> >>     (cd $(datadir)/htdocs/; cpio -idmu)
> 
> > shouldn't this be something like:
> 
> > (cd $(ROOT)/htdocs/; find . -depth -print) | cpio -pdmu
> > $(datadir)/htdocs
> 
> I tried to avoid the p switch because when I remember correctly this is not
> supported or at least not working correctly under all platforms. The splitted
> way above worked under all platforms I tried.

Fair enough!

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message