For example, you can use Tar on previously created archives to extract files, to store additional files, or to update or list files which were already stored. GNU Tar provides the ability to create tar archives, as well as various other kinds of manipulation. Agency Project Budget.GNU Tar.Run suffix), and can be launched as is. List full timestamps of files in a tarball, I have a large tar archive and.(many of those have a. The resulting file appears as a shell scriptTar - GNU Project - Free Software Foundation, GNU Tar provides the ability to.
Project Tar List Code Of ThisI recommendUsing the “.run” (which was introduced by some Makeself archives released byLoki Software) or “.sh” suffix for such archives not to confuse the users,So that they will know they are actually shell scripts (with quite a lot of binary dataI am trying to keep the code of this script as portable as possible, i.e it isNot relying on any bash-specific features and only calls commands that areInstalled on any functioning UNIX-compatible system. This small stub performs all the steps of extracting the files,Running the embedded command, and removing the temporary files when done.All the user has to do to install the software contained in such anArchive is to “run” the archive, i.e sh nice-software.run. The resultant archive is actually a compressed (usingGzip, bzip2, or compress) TAR archive, with a small shell script stub at theBeginning. This is prettySimilar to archives generated with WinZip Self-Extractor in the Windows world.Makeself archives also include checksums for integrity self-validation (CRCThe makeself.sh script itself is used only to create the archives from aDirectory of files.The installer for the Linux version of Google EarthImportant note for Apache users: By default, most Web servers will think that Makeself archives are regular text files and thus they may show up as text in a Web browser. All game patches released by Loki Software for the Linux version of popular games Game patches and installers for Id Software games like Quake 3 for Linux or Return To Castle Wolfenstein HP-UX (tested on 11.0 and 11i on HPPA RISC)If you successfully run Makeself and/or archives created with it on anotherExamples of publicly available archives made using makeself are :![]() ![]() Project Tar List Update Or List-bzip2 : Use bzip2 instead of gzip for better compression. -gzip : Use gzip for compression (the default on platforms on which gzip is commonly available, like Linux) -version : Prints the version number on stdout, then exits immediately :Makeself.sh archive_dir file_name label startup_script Args are optional options for Makeself. A workaround for this is to set the environment variable $_POSIX2_VERSION to enable the old syntax, i.e. Therefore you may have problems uncompressing some of these archives. -xz : Use xz instead of gzip for better compression. It is recommended that the archive prefix be set to something like ‘.bz2.run’, so that potential users know that they’ll need bzip2 to extract it. The pbzip2 command must be available in the command path. -pbzip2 : Use pbzip2 instead of gzip for better and faster compression on machines having multiple CPUs. It is recommended that the archive prefix be set to something like ‘.bz2.run’, so that potential users know that they’ll need bzip2 to extract it. The lzop command must be available in the command path. -lzo : Use lzop instead of gzip for better compression. It is recommended that the archive prefix be set to something like ‘.xz.run’ for the archive, so that potential users know that they’ll need xz to extract it. It is recommended that the archive prefix be set to something like ‘.lz4.run’ for the archive, so that potential users know that they’ll need lz4 to extract it. The lz4 command must be available in the command path. -lz4 : Use lz4 instead of gzip for better compression. Lzo.run for the archive, so that potential users know that they’ll need lzop to extract it. Assumes that potential users have gpg installed. This will prompt for a password to encrypt with. -gpg-encrypt : Encrypt the archive using gpg -ac -z $COMPRESS_LEVEL. -base64 : Encode the archive to ASCII in Base64 format instead of compressing (base64 command required). It is recommended that the archive prefix be set to something like ‘.zstd.run’ for the archive, so that potential users know that they’ll need zstd to extract it. The zstd command must be available in the command path. -nocomp : Do not use any compression for the archive, which will then be an uncompressed TAR. This should be the default on all platforms that don’t have gzip available. -compress : Use the UNIX compress command to compress the data. Assumes that the potential users have the OpenSSL tools installed. This will prompt for a password to encrypt with. Midnight club la xbox-notemp : The generated archive will not extract the files to a temporary directory, but in a new directory created in the current directory. Pbzip2 and pigz are parallel by default, and setting this value allows limiting the number of threads they use. Most useful (and required) for opting into xz’s threading, usually with -threads=0 for all available cores. Omit to use compressor’s default. -threads : Specify the number of threads to be used by compressors that support parallelization. This option implies -notemp above. -current : Files will be extracted to the current directory, instead of in a subdirectory. Launch the compilation through the embedded script). In this mode, the settings from the original archive are reused (compression type, label, embedded script), and thus don’t need to be specified again on the command line. -append (new in 2.1.x): Append data to an existing archive, instead of creating a new one. Store the files that are being pointed to instead of the links themselves. -copy : Upon extraction, the archive will first extract itself to a temporary directory. The script is executed with the same environment and initial script_args as startup_script. -cleanup : Specify a script that is run when execution is interrupted or finishes successfully. This option can be used to specify its actual location if it is stored someplace else. By default, it is assumed that it is stored in the same location as makeself.sh. Factorio demo multiplayer-sha256 : Adds a SHA256 checksum for the archive. This speeds up the extraction process if integrity checking is not necessary. -nomd5 and -nocrc : Disable the creation of a MD5 / CRC checksum for the archive. -nowait : When executed from a new X11 terminal, disable the user prompt at the end of the script execution. -nox11 : Disable the automatic spawning of a new terminal in X11. This prevents “Filesystem busy” errors for installers that span multiple CDs. ![]() -packaging-date date : Use provided string as the packaging date instead of the current date. -keep-umask : Keep the umask set to shell default, rather than overriding when executing self-extracting archive. Git directory from the packaged archive directory using the GNU tar, one can use makeself.sh -tar-extra "-exclude=.git".
0 Comments
Leave a Reply. |
AuthorJonathan ArchivesCategories |