Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-30-2006, 06:50 PM   #1
Registered: Nov 2005
Posts: 90

Rep: Reputation: 15
Question tar multiple volume archive - volume script


I want to use a volume script with the tar command and the multiple volume script.
My resource for this is

I have tried a simple example:

tar -cL8 -f test.tar -F ~/bin/testtar .

the testtar script looks like this:

#! /bin/sh

echo Preparing volume $TAR_VOLUME of $TAR_ARCHIVE.

# echo "hallo" >&3

after executing the command I see that the script is called but $TAR_VOLUME and $TAR_ARCHIVE are empty and I can not write to the file descriptor 3.

Any ideas what's going wrong?

Old 08-31-2006, 03:51 PM   #2
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
# echo "hallo" >&3 -
remove "#"

Last edited by ygloo; 08-31-2006 at 04:16 PM.
Old 08-31-2006, 05:08 PM   #3
Registered: Nov 2005
Posts: 90

Original Poster
Rep: Reputation: 15
I have fixed the problem !
updating tar has solved the problem, Version 1.15.91 is required!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
need some help with muli-volume tar (ubuntu, bash, gnu tar) MattCarp Linux - General 4 06-05-2006 09:15 AM
multiple volume archive lil_becky Linux - Newbie 2 01-19-2005 06:26 PM
multi-volume tar exodist Linux - Software 11 01-18-2005 04:32 AM
Multi-Volume tar(1) archive on CDR ViragoRider Linux - Software 0 05-14-2004 02:45 PM
Adjusting how much volume jumps with volume keys vrillusions Linux - Laptop and Netbook 2 10-17-2003 10:11 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration