Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: david@wubios.wustl.edu (David J. Camp)
Newsgroups: comp.sys.sun
Subject: Re: SUN Transcript
Message-ID: <1689@brazos.Rice.edu>
Date: 26 Sep 89 05:22:16 GMT
Sender: root@rice.edu
Organization: Sun-Spots
Lines: 27
Keywords: Miscellaneous
Approved: Sun-Spots@rice.edu
X-Sun-Spots-Digest: Volume 8, Issue 135, message 7 of 14

In article <1319@brazos.Rice.edu> edm@nwnexus.wa.com (Ed Morin) writes:
:X-Sun-Spots-Digest: Volume 8, Issue 112, message 2 of 14
:
:One thing that bothered me about Sun's Transcript is that when the fonts
:are originally tar-ed off the distribution tape, there exist a number of
:links between files which same a considerable amount of space.  During the
:course of installation the entire set of font directories are cp -r over
:to their final destination.  The problem is that all of the link in-
:formation is lost and the disk bloats out.
:
:My solution was to remove the tree after the installation and do a tar
:copy of the distribution tree to preserve the links and save my disk
:space.  It was quite time consuming though and their installation should
:have been much more intelligent about it all...

When I move things around and need to maintain symbolic links, I do not
use cp -r at all.  I use tar, and pipe the output to another tar job
that immediately extracts it at its destination.  e.g.

(cd /source/.. ; tar cd - source ) | ( cd /dest/.. ; tar xvf - )

Be careful you do not have 'cd' aliased though.  -David-

Bitnet:   david@wubios.wustl                ^      Mr. David J. Camp
Internet: david%wubios@wucs1.wustl.edu    < * >    Box 8067, Biostatistics
uucp:     uunet!wucs1!wubios!david          v      660 South Euclid
Washington University (314) 36-23635               Saint Louis, MO 63110