Gentoo Archives: gentoo-user

From: Michael Kintzios <michaelkintzios@××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] How to tar?
Date: Thu, 23 Mar 2006 16:53:35
Message-Id: E409A0EB8A569347802C508C49C13439073094@BCV0X134EXC0003
1 I think I need to go back to basics here to get out of a hole:
2
3 I have move my /usr onto a different machine as part of a migration
4 exercise, but the partition in question will barely contain it. Is
5 there a way of running tar so that:
6
7 1. Only part of /usr is untarred in a different partition (all of
8 /usr/*, except /usr/portage which I want to eventually untar it and keep
9 it in there).
10 2. Those directories which are untarred are also removed from the .tgz
11 file so that there is enough space left behind to untar the /usr/portage
12 directory.
13 3. Finally, /usr/portage is now untarred into the said partition and the
14 tgz file is deleted thereafter.
15
16 Could you please help with the command/piping syntax?
17 --
18 Regards,
19 Mick
20
21
22 --
23 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to tar? Michael Crute <mcrute@×××××.com>
Re: [gentoo-user] How to tar? Etaoin Shrdlu <shrdlu@×××××××××××××.org>
[gentoo-user] Re: How to tar? Simon Kellett <zoxed_c@×××××.de>