On 3/23/06, Michael Kintzios <[EMAIL PROTECTED]> wrote:
> I think I need to go back to basics here to get out of a hole:
>
> I have move my /usr onto a different machine as part of a migration
> exercise, but the partition in question will barely contain it.  Is
> there a way of running tar so that:
>
> 1. Only part of /usr is untarred in a different partition (all of
> /usr/*, except /usr/portage which I want to eventually untar it and keep
> it in there).
> 2. Those directories which are untarred are also removed from the .tgz
> file so that there is enough space left behind to untar the /usr/portage
> directory.
> 3. Finally, /usr/portage is now untarred into the said partition and the
>  tgz file is deleted thereafter.
>
> Could you please help with the command/piping syntax?

Hmm... basics... I would start with `man tar` and see where that takes you.

-Mike

--
________________________________
Michael E. Crute
http://mike.crute.org

It is a mistake to think you can solve any major problems just with potatoes.
--Douglas Adams

-- 
gentoo-user@gentoo.org mailing list

Reply via email to