Article View: alt.linux
Article #632Re: Copying
From: Bill Unruh
Date: Wed, 06 Oct 1999 00:00
Date: Wed, 06 Oct 1999 00:00
23 lines
1670 bytes
1670 bytes
In <arAK3.430$Nr6.831@news2.usenetserver.com> "Celestial Wizard" <celestialwizard@merlin.hatfields.com.au> writes: ]do you how big /usr is???? ]Richard Zack <richard@pantek.com> wrote in message ]news:37F433E9.D6C97D1@pantek.com... ]> > I have a new hard drive. And want to basically take the /usr directory, ]> > throw it on that drive, and then mount the new drive under /usr. ]> > How do I get a copy of /usr , with all the links done properly? ]> I'd make a "tarball"! ]> cd /usr tar -cf - . |(cd /newusr; tar -xpf - ) is the standard way metioned at the end of man tar. ]> cd /usr ]> tar -cvv -f newfile.tar * ]> cp newfile.tar /newusr ]> rm -rf /usr This uses up a huge amount of space in newfile. ]> mv /newusr /usr
Technical Details
Message-ID:
<7tel6k$799$1@nntp.itservices.ubc.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7t17hd$nel$1@m2.c2.telstra-mm.net.au> <37F433E9.D6C97D1@pantek.com> <arAK3.430$Nr6.831@news2.usenetserver.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100c5f,aff733d416733c45 X-Google-Attributes: gid100c5f,public X-Google-Thread: 102983,aff733d416733c45 X-Google-Attributes: gid102983,public X-Google-Thread: 136b98,aff733d416733c45 X-Google-Attributes: gid136b98,public X-Google-Thread: fb7a0,aff733d416733c45 X-Google-Attributes: gidfb7a0,public From: unruh@physics.ubc.ca (Bill Unruh) Subject: Re: Copying Date: 1999/10/06 Message-ID: <7tel6k$799$1@nntp.itservices.ubc.ca> X-Deja-AN: 533359617 References: <7t17hd$nel$1@m2.c2.telstra-mm.net.au> <37F433E9.D6C97D1@pantek.com> <arAK3.430$Nr6.831@news2.usenetserver.com> X-Trace: nntp.itservices.ubc.ca 939186196 7465 142.103.234.10 (6 Oct 1999 05:03:16 GMT) Organization: ITServices, University of British Columbia Newsgroups: alt.linux,aus.computers.linux,bigpond.cable.tech.linux,linux.debian.user X-Complaints-To: abuse@interchange.ubc.ca