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:
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?