Date: Thu, 13 Mar 1997 11:27:56 -0800 (PST) From: Dan Busarow <dan@dpcsys.com> To: Lee Crites <adonai@jump.net> Cc: Doug White <dwhite@resnet.uoregon.edu>, Dan Wolfe <dwolfe@zyga.com>, "'questions@freebsd.org'" <questions@freebsd.org> Subject: Re: Creating a directory link from one partition to another Message-ID: <Pine.UW2.3.95.970313112153.10681G-100000@cedb> In-Reply-To: <1.5.4.32.19970313155810.006a9ce0@jump.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Mar 1997, Lee Crites wrote: > cd /source/directory > tar -cf - . | ( cd /target/directory ; tar -xvf - ) > > I know, I know, the -C says to change to this directory before doing the > work. It's a beautiful thing. And, I assume, it is valid on FreeBSD. But, > unfortunately, it is not a *universal* thing. Since my scripts must work on > multiple platforms, I can't use it. This should work every where. cd /source/dir find . -depth -print | cpio -pdmv /tar/get/dir Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970313112153.10681G-100000>