### makeself.sh GPG Encryption Example Source: https://makeself.io/ Encrypts the archive using 'gpg -ac -z $COMPRESS_LEVEL'. Assumes GPG is installed. ```bash --gpg-encrypt ``` -------------------------------- ### makeself.sh Threading Option Example Source: https://makeself.io/ Specifies the number of threads for parallel compressors. Useful for xz threading (e.g., --threads=0 for all cores) and limiting threads for pbzip2/pigz. ```bash --threads ``` -------------------------------- ### makeself.sh SSL Encryption Example Source: https://makeself.io/ Encrypts the archive using 'openssl aes-256-cbc -a -salt'. Assumes OpenSSL tools are installed. ```bash --ssl-encrypt ``` -------------------------------- ### makeself.sh Compression Level Example Source: https://makeself.io/ Specifies the compression level for supported compressors. Defaults to 9. ```bash --complevel ``` -------------------------------- ### Execute Startup Script with Parameter Source: https://makeself.io/ Demonstrates how to execute the self-extracting script with a custom parameter. The `$USER_PWD` variable can be used to access files in the same directory as the script. ```bash my-self-extracting-script.sh --fooBarFileParameter foo.bar ``` -------------------------------- ### Run Makeself Tests Source: https://makeself.io/ Command to execute all tests for Makeself. This requires cloning the git repository and updating submodules. ```bash make test ``` -------------------------------- ### makeself.sh Scripting and Configuration Options Source: https://makeself.io/ Options related to pre-extraction scripts, compression levels, threads, and compressor command-line arguments. ```bash --preextract ``` ```bash --complevel ``` ```bash --comp-extra ``` ```bash --threads ``` -------------------------------- ### makeself.sh Basic Syntax Source: https://makeself.io/ The fundamental command structure for using makeself.sh to create an archive. Specify the source directory, output file name, archive label, and the startup script to be executed upon extraction. ```bash makeself.sh [args] archive_dir file_name label startup_script [script_args] ``` -------------------------------- ### makeself.sh Version Option Source: https://makeself.io/ Prints the version number of makeself to standard output and exits. ```bash --version ``` -------------------------------- ### makeself.sh Compression Options Source: https://makeself.io/ Options to control the compression algorithm used for the archive. Supports gzip (default), bzip2, bzip3, pbzip2, xz, lzo, lz4, zstd, pigz, and no compression. ```bash --gzip ``` ```bash --bzip2 ``` ```bash --bzip3 ``` ```bash --pbzip2 ``` ```bash --xz ``` ```bash --lzo ``` ```bash --lz4 ``` ```bash --zstd ``` ```bash --pigz ``` ```bash --nocomp ``` -------------------------------- ### makeself.sh Pre-extraction Script Source: https://makeself.io/ Specifies a script to be executed before the archive's files are extracted. The script runs with the same environment and initial script arguments as the main startup script. ```bash --preextract ``` -------------------------------- ### Build Makeself Release Source: https://makeself.io/ Command to build a release version of Makeself. Ensure submodules are updated recursively before building. ```bash make ``` -------------------------------- ### makeself.sh Extraction Behavior Options Source: https://makeself.io/ Control how files are extracted. Options include not using a temporary directory, extracting to the current directory, and following symbolic links. ```bash --notemp ``` ```bash --current ``` ```bash --follow ``` -------------------------------- ### makeself.sh Encryption Options Source: https://makeself.io/ Options for encrypting the generated archive. Supports Base64 encoding, GPG encryption, and SSL encryption. ```bash --base64 ``` ```bash --gpg-encrypt ``` ```bash --ssl-encrypt ``` -------------------------------- ### makeself.sh Header Script Location Source: https://makeself.io/ Specifies the location of the 'makeself-header.sh' file if it's not in the same directory as makeself.sh. ```bash --header ``` -------------------------------- ### makeself.sh Archive Modification Options Source: https://makeself.io/ Options for modifying existing archives or specifying header locations. Supports appending data and specifying a custom header script path. ```bash --append ``` ```bash --header ``` -------------------------------- ### Create a Self-Extracting Archive Source: https://makeself.io/ Generates a self-extracting archive from a directory. Specify the source directory, output archive name, a label, and the startup script to execute upon extraction. ```bash makeself.sh /home/joe/mysoft mysoft.sh "Joe's Nice Software Package" ./setup ``` -------------------------------- ### Exclude Directory from Archive Source: https://makeself.io/ When creating an archive, use `--tar-extra` with GNU tar's `--exclude` option to prevent specific directories, like `.git`, from being included in the final package. ```bash makeself.sh --tar-extra "--exclude=.git" ... ``` -------------------------------- ### Create Archive Without Temporary Directory Source: https://makeself.io/ Creates a self-extracting archive that does not use a temporary directory for extraction. This is useful for archives that need to remain in the current directory after extraction. ```bash makeself.sh --notemp makeself makeself.run "Makeself by Stephane Peter" echo "Makeself has extracted itself" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.