1 |
> -----Original Message----- |
2 |
> From: Michael Crute [mailto:mcrute@×××××.com] |
3 |
> Sent: 23 March 2006 17:03 |
4 |
> To: gentoo-user@l.g.o |
5 |
> Subject: Re: [gentoo-user] How to tar? |
6 |
> |
7 |
> |
8 |
> On 3/23/06, Michael Kintzios <michaelkintzios@××××××××.uk> wrote: |
9 |
> > I think I need to go back to basics here to get out of a hole: |
10 |
> > |
11 |
> > I have move my /usr onto a different machine as part of a migration |
12 |
> > exercise, but the partition in question will barely contain it. Is |
13 |
> > there a way of running tar so that: |
14 |
> > |
15 |
> > 1. Only part of /usr is untarred in a different partition (all of |
16 |
> > /usr/*, except /usr/portage which I want to eventually |
17 |
> untar it and keep |
18 |
> > it in there). |
19 |
> > 2. Those directories which are untarred are also removed |
20 |
> from the .tgz |
21 |
> > file so that there is enough space left behind to untar the |
22 |
> /usr/portage |
23 |
> > directory. |
24 |
> > 3. Finally, /usr/portage is now untarred into the said |
25 |
> partition and the |
26 |
> > tgz file is deleted thereafter. |
27 |
> > |
28 |
> > Could you please help with the command/piping syntax? |
29 |
> |
30 |
> Hmm... basics... I would start with `man tar` and see where |
31 |
> that takes you. |
32 |
|
33 |
Not very far. ;-) That's why I'm asking for some quick help. I also |
34 |
need to add that I was seeking answers to the above questions in the |
35 |
context of having access only to the new machine and three more |
36 |
partitions on it, all of which are smaller than the total uncompressed |
37 |
/usr directory. |
38 |
-- |
39 |
Regards, |
40 |
Mick |
41 |
|
42 |
|
43 |
-- |
44 |
gentoo-user@g.o mailing list |