[lug] tarring and untarring
D. Stimits
stimits at idcomm.com
Tue Jul 9 14:22:58 MDT 2002
Ken Nagorski wrote:
>
> Hi there,
>
> Does anyone remember how to tar something to a new location. This trick is
> most generally used when someone wants to move a large number of files to a
> new location, like for instance, adding a larger drive to become the /var
> partition...
>
> Ugh, there is some trick where you just run tar and pipe the output right
> to another tar and it tell it where to uncompress it.
You might find this is easier/better, it has been for me, since it
allows device special files and other attributes:
find /SomeSource -print -xdev | cpio -pdm SomeDestination
D. Stimits, stimits at idcomm.com
More information about the LUG
mailing list