Archive utility.
Synopsis
tar [OPTION]... [FILE]...
Description
Create and extract tar archives. Runs in the just-bash WASM shell inside SLICC.
Options
-c, --create Create a new archive.
-x, --extract Extract files from an archive.
-t, --list List the contents of an archive.
-f FILE Use archive file FILE.
-z, --gzip Filter the archive through gzip.
-v, --verbose Verbosely list files processed.
-C DIR Change to DIR before performing operations.
Examples
$ tar -czf archive.tar.gz src/
Create a gzipped tar archive of src/.
$ tar -xzf archive.tar.gz
Extract a gzipped tar archive.
$ tar -tf archive.tar
List contents of an archive.
Notes
Operates on the SLICC virtual filesystem (LightningFS/IndexedDB). Supports gzip compression/decompression.
See Also
gzip, gunzip, zip, unzip