diff options
author | Rob Landley <rob@landley.net> | 2019-05-20 22:49:22 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-05-20 22:49:22 -0500 |
commit | 1b487c96138ac624418c9af542fa4141ca368e92 (patch) | |
tree | 1409d9e2cee08fb64d67cf62b5a089adcbd04034 /toys/posix | |
parent | e6460141851d3af158eefe9ade4cff75017e3a87 (diff) | |
download | toybox-1b487c96138ac624418c9af542fa4141ca368e92.tar.gz |
Less incomplete tar help text.
Diffstat (limited to 'toys/posix')
-rw-r--r-- | toys/posix/tar.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/toys/posix/tar.c b/toys/posix/tar.c index 10535f37..e8dc319a 100644 --- a/toys/posix/tar.c +++ b/toys/posix/tar.c @@ -24,18 +24,22 @@ config TAR bool "tar" default y help - usage: tar [-cxtfvohmjkO] [-XT FILE] [-f TARFILE] [-C DIR] + usage: tar [-cxt] [-fvohmjkO] [-XTCf NAME] [FILES] - Create, extract, or list files in a .tar (or compressed t?z) file. + Create, extract, or list files in a .tar (or compressed t?z) file. Options: - c Create x Extract t Test - f Name of TARFILE C Change to DIR first v Verbose: show filenames + c Create x Extract t Test (list) + f tar FILE (default -) C Change to DIR first v Verbose display o Ignore owner h Follow symlinks m Ignore mtime - j bzip2 compression z gzip compression + J xz compression j bzip2 compression z gzip compression O Extract to stdout X exclude names in FILE T include names in FILE - --exclude=FILE File pattern(s) to exclude - --restrict All archive contents must extract under a single subdirctory. + --exclude FILENAME to exclude --full-time show seconds with -tv + --mtime Use TIME for file timestamps --sparse Record sparse files + --owner Set file owner to NAME --group Set file group to NAME + --restrict All archive contents must extract under one subdirctory + --numeric-owner Save/use/display uid and gid, not user/group name + --no-recursion Don't store directory contents */ #define FOR_tar |