tar

    Create, list and extract uncompressed or gzip-compressed ustar archives.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.0
    License
    Apache-2.0
    Last updated
    14 hours ago
    Downloads
    9

    #tar

    Create, list and extract uncompressed or gzip-compressed ustar archives.

    #Usage

    moonx cli/tar -czf files.tar.gz documents moonx cli/tar -tf files.tar moonx cli/tar -xOf files.tar notes.txt

    #Common options

    OptionDescription
    -c, --createCreate an archive.
    -t, --listList member names.
    -x, --extractExtract selected members.
    -f VALUE, --file VALUEUse this archive or - for a standard stream.
    -z, --gzipUse gzip compression.
    -O, --to-stdoutExtract file contents to stdout.
    --helpShow help.
    --versionShow the version.
    -C VALUE, --directory VALUEChoose an existing extraction directory.

    #Notes

    Archives contain regular files and directories with UTF-8 names, octal sizes, fixed modes and zero owners and timestamps. Creation and extraction refuse to overwrite existing files. Extraction validates the archive first and requires a caller-controlled destination tree. Sparse, linked and extended-header members cannot be extracted. The in-memory archive and total payload limit is 64 MiB, with up to 65,535 members.

    Source Files