[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] New function request
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] New function request |
Date: |
Wed, 31 Dec 2008 17:33:34 +0200 |
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