The Fidelix Linux Distribution

Simple, Stable, and Secure

TAR(1) User Commands TAR(1)

tar - manual page for tar 1.31.1

tar c|x|t [-zJjahmvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [--exclude PATTERN]... [FILE]...

BusyBox v1.31.1 (2020-04-30 13:38:01 EDT) multi-call binary.

Create, extract, or list files from a tar file

c
Create
x
Extract
t
List

-f FILE Name of TARFILE ('-' for stdin/out)

-C DIR
Change to DIR before operation
-v
Verbose
-O
Extract to stdout
-m
Don't restore mtime
-o
Don't restore user:group
-k
Don't replace existing files
-z
(De)compress using gzip
-J
(De)compress using xz
-j
(De)compress using bzip2
-a
(De)compress using lzma
-h
Follow symlinks

-T FILE File with names to include

-X FILE File with glob patterns to exclude

--exclude PATTERN
Glob pattern to exclude
April 2020 Fidelix 1.0