Tar It

SolidGroundUX DocumentationSolidGroundUX
NL

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
FunctionPurposeArgumentsOutput
_scan_cli_argsRecord which archive settings were supplied explicitly.- $@ — Original command-line arguments.—
_normalize_archive_nameNormalize the requested archive filename.—Writes a basename ending in .tar.gz.
_validate_parametersValidate archive source and destination settings.——
_getparametersResolve and confirm archive settings.——
_create_archiveCreate 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.