Monday, March 15, 2010

A more convenient alternative to AIX tar; gtar

Searched everywhere just to know how to use the "tar" command to extract an archive to a certain folder instead of extracting it using the same directory structure inside, and so here are the steps:
  1. Don't use the "tar" program
  2. Download the GNU tar rpm from the AIX toolbox
  3. Install it "rpm -ivh blablabla.rpm", you must have installed rpm at first from there of course, note that you must have root access to install that package
  4. logout and then back in, use "gtar" from now on.

No comments: