Create a timestamped archive of a SolidGroundUX framework tree
Source: target-root/usr/local/libexec/solidgroundux/tar-it.sh
Create a timestamped archive of a SolidGroundUX framework tree
Public functions
Internal functions
| Function | Purpose | Arguments | Output |
|---|---|---|---|
_scan_cli_args | Record which archive settings were supplied explicitly. | - $@ — Original command-line arguments. | — |
_normalize_archive_name | Normalize the requested archive filename. | — | Writes a basename ending in .tar.gz. |
_validate_parameters | Validate archive source and destination settings. | — | — |
_getparameters | Resolve and confirm archive settings. | — | — |
_create_archive | Create the compressed framework archive. | — | — |
Description
Creates a compressed tar archive containing the complete tree beneath a selected framework root. Archive entries are stored relative to that root so they can later be restored beneath any compatible target root by un-tar-it.sh.
Usage
Run the executable from its shell command (or installed wrapper):
tar-it
tar-it --auto --source /home/sysadmin/dev/SolidGroundUX/target-root
Script-specific options:
--auto,-a: Create the archive without prompting.--source VALUE,-s: Root of the tree to archive.--archive-dir VALUE,-d: Directory in which archives are stored.--name VALUE,-n: Archive filename, with or without .tar.gz.
