|
Home > Archive > Unix Shell > February 2007 > How to create self-executable archives?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to create self-executable archives?
|
|
| OEMIOYAGA 2007-02-26, 1:18 pm |
| I'd like to create a .bin file which contains a .bz2 file and a shell
script that:
- copies files from the .bz2 file into the system file tree
- executes some additional commands from the shell script
Let's say my archive will have a .bin extension, I'd like to be able
to run ./filename.bin, to extract the content and execute the shell
script with no further intervention. How can I do that?
Thanks,
Oemi.
| |
| Bill Marcum 2007-02-26, 7:16 pm |
| On 26 Feb 2007 10:58:07 -0800, OEMIOYAGA
<oemioyaga@gmail.com> wrote:
>
>
> I'd like to create a .bin file which contains a .bz2 file and a shell
> script that:
> - copies files from the .bz2 file into the system file tree
> - executes some additional commands from the shell script
> Let's say my archive will have a .bin extension, I'd like to be able
> to run ./filename.bin, to extract the content and execute the shell
> script with no further intervention. How can I do that?
shar
--
Lies! All lies! You're all lying against my boys!
-- Ma Barker
|
|
|
|
|