bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-tar] A couple of requests on tar


From: Sergey Poznyakoff
Subject: RE: [Bug-tar] A couple of requests on tar
Date: Fri, 28 Mar 2008 11:41:05 +0200

Chiu, PCM (Peter) <address@hidden> ha escrit:

> The output file is over-written by the subsequent volume.
> Is it possible to have the output tar file name to be incremented with a
> number?

Use info script (--info-script option). The environment variable $TAR_FD
contains a file descriptor where you can write the new name.  See the
working script example at 

http://www.gnu.org/software/tar/manual/html_section/tar_75.html#info_002dscript

(you need version 1.17 or later for that feature)
 
> Also, each new volume it requires the caller to "hit return" to
> continue, can that be made without?

No keyboard interaction is required once the info script is given.
 
Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]