-   Linux - General (
-   -   tar multiple volume archive - volume script (

RGummi 08-30-2006 05:50 PM

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?


ygloo 08-31-2006 02:51 PM

# echo "hallo" >&3 -
remove "#"

RGummi 08-31-2006 04:08 PM

I have fixed the problem !
updating tar has solved the problem, Version 1.15.91 is required!


All times are GMT -5. The time now is 02:05 PM.