Re: cannot open tar file.

From: D. Thomas Podnar (tom_at_microlite.com)
Date: 02/26/04


Date: Thu, 26 Feb 2004 16:13:59 -0500

ron wrote:
>
> Jean-Pierre Radley <jpr@jpr.com> wrote in message news:<20040225213050.GA3164@jpradley.jpr.com>...
>
> > Are you sure of what, if anything, is in that tarball?
> >
> > If "file tarball" confirms that it is in fact a tar archive,
> > then see what's in it with "tar tvf tarball".
>
> Hi I ftp'd the tarball back to the linux(Redhat 6.0)box did a tvf
> tarball. It returned a list of directories and files. I than delected
> the dir dal/ on the linux box than did xvf tarball /dal.
> it recreated the new /dal with directories and files. So the tarball
> does have data. Note the size again is 54M., I'm assuming Linux does
> not care about size. Noted on the Sco (2.3.1) box with command's tvf
> and xvf it just returned to the # with no error or action on the file.
> It does not make any scents. :-(

If you have pax on the machine you want to read extract the archive on,
try reading the it with pax.

pax -v -f tarball
To see if you can list it.

pax -r -v -f tarball
to extract it.

-- 
Best Regards,
Tom
---
  D. Thomas Podnar - President  tom@microlite.com
  Microlite Corporation         724-375-6711 Voice
  2315 Mill Street              724-375-6908 Fax
  Aliquippa PA 15001-2228       888-257-3343 Tollfree Sales
+---------------------------------------------------------+
|Makers of BackupEDGE 2.0 - Backup and Disaster Recovery  |
|Software for Unix and Linux Systems - Now With Encryption|
|Supports: Tape Drives, Libraries, CD/DVD Optical Media   |
|http://www.microlite.com          ftp://ftp.microlite.com|
+---------------------------------------------------------+


Relevant Pages

  • Re: cannot open tar file.
    ... >> tarball. ... > try reading the it with pax. ... If you have pax on the machine you want to extract the archive on, ... try reading or extracting the archive with pax. ...
    (comp.unix.sco.misc)
  • Re: update software
    ... # Extract latest BitTorrent versions ... maxdname = tarball ... maxname = tarball ...
    (Fedora)
  • Re: a subtle(?) tar extraction permission problem
    ... then doing the extract. ... i can't just assume that all of the directories in the tarball ... so no appending will happen until after then. ... These things are fun, and fun is good. ...
    (Fedora)
  • Re: Quick question regarding permissions and tar
    ... You can install the tarball to a new disk by doing this: ... If you really need the initial '/' in the tarball, then you'll need to do something like this: ... which I have copied the image to and use to extract to a new pc. ...
    (Debian-User)
  • Re: a subtle(?) tar extraction permission problem
    ... _need_ particular accounts and odd privileges. ... Note perms, extract, fix perms. ... Should automate pretty readily if you peruse the tarball TOC. ...
    (Fedora)