Difference between revisions of "OS4X plugin os4xplugin gzip"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category:Plugins]] | |
− | + | == Purpose == | |
+ | Compressing every single file defined in the passed XML via gzip. The original files are exchanged in the file system using the gzip process. The extension ".gz" is appended to each file. The new file name is changed in the XML file. The compression node "<code>compression</code>" in the XML is changed to "gzip" for each file. | ||
− | == | + | == Requirements == |
+ | * File <code>/etc/os4x.conf</code> or configuration file referenced by environment variable <code>$OS4X_CFGFILE</code>. The temporary directory and the license file are obtained via the database that is configured here. | ||
− | + | == Configuration == | |
+ | The program "<code>gzip</code>" is searched for in the <code>PATH</code> of the shell under which the plugin is started. This means that the gzip version used can be influenced by clever positioning or definition of the default PATH. | ||
− | == | + | == Return codes == |
− | + | *0: everything OK | |
− | |||
− | |||
− | |||
− | 0: |
Latest revision as of 08:40, 29 July 2024
Purpose
Compressing every single file defined in the passed XML via gzip. The original files are exchanged in the file system using the gzip process. The extension ".gz" is appended to each file. The new file name is changed in the XML file. The compression node "compression
" in the XML is changed to "gzip" for each file.
Requirements
- File
/etc/os4x.conf
or configuration file referenced by environment variable$OS4X_CFGFILE
. The temporary directory and the license file are obtained via the database that is configured here.
Configuration
The program "gzip
" is searched for in the PATH
of the shell under which the plugin is started. This means that the gzip version used can be influenced by clever positioning or definition of the default PATH.
Return codes
- 0: everything OK