From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: A lil offtopic, but..
Date: Wed, 13 Jan 1999 10:56:05 -0700 (MST) [thread overview]
Message-ID: <199901131756.KAA08732@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <199901131641.LAA29517@northshore.shore.net> from "David R. Gavin" at Jan 13, 99 11:41:49 am
David R. Gavin wrote:
>
>
> An even slicker way to migrate to a new filesystem that may not be the same
> size:
>
> cd dir_to_move
> tar cf - . | (cd target_directory ; tar xf -)
As we are talking about Linux then 'cp -a <source> <target>' works just
dandy. Use 'cp -xdpR' if you want to be a bit more selective. Works
on a contents of /dev as well. Try and see for yourself. :-)
As this is a properly of GNU 'cp' do not try that on a system where
this variant of 'cp' is not available.
Yet another method is --pass option to 'cpio'. See 'man cpio' for more.
Michal
prev parent reply other threads:[~1999-01-13 18:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-13 15:01 A lil offtopic, but AfterBurn
1999-01-13 15:09 ` Jaap Schellekens
1999-01-13 16:41 ` David R. Gavin
1999-01-13 17:21 ` Robin Stephenson
1999-01-13 17:56 ` Michal Jaegermann [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox