[nSLUG] tarball extract failing

robbie macg robbie.macg at gmail.com
Wed Aug 24 19:08:34 ADT 2011

Hi Nancy,
If you're comfortable trying to solve this problem via CLI, perhaps
you could try the following command:

tar -xzfov /Path/To/Archive.tar.gz

I'm sorry if that's dumb or too basic, but that's how I'd start if I
was trying to extract an older archive. You might have already tried
this method.
The flags -xzf are standard for extracting a TAR.GZ. I think the -o
flag might help if the archive is older or a little funky, the -v flag
will let you watch the extraction happen so you can figure out why/how
it's failing if it still craps out.
If you wanted to, you could also point the above command at a specific
directory, file or set of files like this:

tar -xzfov /Path/To/File.tar.gz /Directory/File*
(like, if this is an archive containing your old home directory, you
might want to just extract nancysoldusername/library/photos/* or

IDK. Maybe that's useful?

Talk to you soon,

> Message: 3
> Date: Wed, 24 Aug 2011 01:48:59 -0300
> From: Nancy <nancy at esnesnon.com>
> To: Nova Scotia Linux User Group <nslug at nslug.ns.ca>
> Subject: [nSLUG] tarball extract failing
> Message-ID: <EDF56F66-64E3-4A47-A30B-31F446F2131A at esnesnon.com>
> Content-Type: text/plain; charset=us-ascii
> Does anyone know how I might extract some files from a .tgz file that seems to have something in it that makes it kack only a few GBs into the extract? It's a tarball of my OS X homedir and I'm pretty sure the offending file is in the Library directory. The tarball is a couple of years old and every now and then I pull it out and try (unsuccessfully) to rescue photos of my cat (that passed away). These are the only good photos of her that I have, so I never give up trying.
> If there is a way for me to "look" in the file and cherry-pick what I want, that would be the ultimate. I can't even remember all of the things I have tried to get this file extracted - there have been so many: cmd line tools and graphical ones. I have tried both Linux (Debian) and OS X to no avail.
> Any help would be appreciated!
> -n-
> ------------------------------
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/mailman/listinfo/nslug
> End of nSLUG Digest, Vol 118, Issue 1
> *************************************

More information about the nSLUG mailing list