Linux (or Unix) Self-Extracting Archive using Makeself

Tried out Makeself out at work today, it works really well. We used it to automatically run database scripts on a database host.

An example:

./makeself.sh --compress ./directory_containing_my_files ./my_archive_filename.run "A description or label for your archive" ./a_script_in_the_archive_run.sh

To run:

./my_archive_filename.run <args_to_pass_to_script>

Comments are closed.