sassy_tar
Create a tar archive from a file or directory, with gz, bz2, xz, or no compression. Sensitive files are flagged in a warning and audit-logged.
Instructions
Mutating: writes a new tar archive to disk. Creates a tar from a file or directory path in source; directory contents are stored under the top-level directory name. compress (default gz) accepts gz, bz2, xz, or none, and any other value returns an error. output defaults to the source path plus .tar.gz, .tar.bz2, .tar.xz, or .tar according to compress. Sensitive members are not blocked (full-directory backups must keep working): if any archived file matches the sensitive-read denylist (SSH keys, credential stores, ...), the archive is still created but the result carries a 'warning' field listing them and the event is audit-logged. Returns the created path, a file count, and the archive size in bytes. There is no password option, unlike sassy_unzip. Use it to bundle directories for transport or backup; use sassy_untar to extract what it creates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | ||
| source | Yes | ||
| compress | No | gz |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||