LSModule:Targz: tar (Command)

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

tar [OPTIONS...] [FILE]...

Description

This command is essentially the same as standard GNU tar. The implementation is based off of standard command line options, and the file format as described on Wikipedia. The tar source code was NOT referenced in the implementation, so that LSMTargz could be included in our software distributions without license restrictions.

Supported Options

The tar command currently supports only the options x, z, v, and f. Most of the other options could be supported, but our base distribution of this module supports only what is most likely to be used through LavishScript at present time. The module is open source so that it can be extended to full functionality if desired.

Examples

  • tar -xzvf foo.tar.gz
tar Extract, gzip, verbose, from file foo.tar.gz

See Also