Jim Keener <[EMAIL PROTECTED]> wrote: > If -F is used when creating an archive, can teh script simply echo "n > filenamex.tar.bz2" where x is an incremental number? I thought I had read > somewhere that n is not supported with a script. Also, after the scripts > exits, will tar take the output and use it as if it were typed? I cannot > find much about the usage of -F in the man pages or internet.
The purpose of the end-of-tape script is to inform the operator about the fact that the tape has finished and make sure the fresh one is provided. The only thing that matters for tar is the script exit value: if it exits with 0, tar continues the operation, otherwise the operation is aborted. The script runs with stdout and stderr connected to the terminal, so whatever it prints is meant to draw attention of someone who's in charge of the backup. Regards, Sergey _______________________________________________ Bug-tar mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-tar
