Best of the Newsgroups: multivolume tar file


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From: brian@aljex.com (Brian K. White)
Subject: Re: Extract multivolume SCO tar archive on FreeBSD
Date: 26 Feb 2003 18:05:41 -0800 References: <e5c9d40b.0302260952.72256fbd@posting.google.com>


Hate these ads?




michaelrmgreen@yahoo.co.uk (Michael Green) wrote in message news:<e5c9d40b.0302260952.72256fbd@posting.google.com>...
> Anyone here know how to reconstruct a multivolume tar archive created
> with SCO OpenServer under FreeBSD 4.7
> I tried the command:
> #tar xvMf /dev/fd0
> on each disk, but the files were truncated.
> Any advice on restoring? Thanks.



http://www.aljex.com/bkw/sco/index.html#scotar















this is just a tedium-saver script that does what you can do manually.



either just use the script, or do this:



untar volume 1
note the last file extracted from volume 1
mv filename filename.fragment



untar volume 2
after untarring volume 2 look and see if there is a new <filename from
above>
if there is:
   cat filename >> filename.fragment
then, (whether you need to do above step or not)
   mv filename.fragment filename
then note the last file extracted from volume 2
   mv filename filename.fragment
same as you did for volume 1 but this time using the last file from
volume 2



untar volume 3
repeat steps above under "untar volume 2"










it's simple but tedious as hell
the script just automates the above procedure
it prompts you for volumes and the prompts are very terse but they are
complete, just pay attention. when you get to the last volume, you
just hit Enter without putting in the next floppy and that signals the
script to cap off the procedure. You can always just re-run the script
from the start if you think you might have lost count or skipped a
volume or extracted a volume twice or flubbed the final step.


Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them.

I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.




Comments


Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments

If you want a picture to show with your comment, go get a Gravatar



Versatile Site Map Generator $49.00
A1 Sitemap Generator

/Bofcusm/2054.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!





More:
       - Newsgroup








card_image







Change Congress