Hi James,

> I am not sure if someone else may have mentioned this before or not, but I
> was curious if anyone had ever suggested a new parm to allow the execution
> of a command or script at the end of extraction.  Basically, after all file
> extraction is done, a separate shell would be forked and the command/script
> run before tar exits (i.e. tar/gtar -zx -e script.sh - f
> tarball.tar.gz).

That looks similar to the --info-script option, except that it would
work for usual archives. That's not difficult to implement, but what
would be the difference between `tar -zx -e script.sh -f file' and
`tar -zx -f file && script.sh'?

Regards,
Sergey


Reply via email to