Skip to content

Commit 6ba0b28

Browse files
📝 Update CLI documentation [skip ci]
1 parent 976a0f4 commit 6ba0b28

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

docs/cli-reference.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,18 @@ Extract files from archive
476476
Default value: `false`
477477
* `--no-keep-timestamp` [alias: `no-preserve-timestamps`] — Do not restore timestamp of files. This is the inverse option of --preserve-timestamps
478478

479+
Default value: `false`
480+
* `--mtime <DATETIME>` — Overrides the modification time
481+
* `--clamp-mtime` — Clamp the modification time of the entries to the specified time by --mtime
482+
483+
Default value: `false`
484+
* `--ctime <DATETIME>` — Overrides the creation time
485+
* `--clamp-ctime` — Clamp the creation time of the entries to the specified time by --ctime
486+
487+
Default value: `false`
488+
* `--atime <DATETIME>` — Overrides the access time
489+
* `--clamp-atime` — Clamp the access time of the entries to the specified time by --atime
490+
479491
Default value: `false`
480492
* `--keep-permission` [alias: `preserve-permissions`] — Restore the permissions of the files (unstable on Windows)
481493

@@ -502,10 +514,10 @@ Extract files from archive
502514
* `--numeric-owner` — This is equivalent to --uname "" --gname "". It causes user and group names in the archive to be ignored in favor of the numeric user and group ids.
503515

504516
Default value: `false`
505-
* `--older-ctime <OLDER_CTIME>` — Only include files and directories older than the specified date (unstable). This compares ctime entries.
506-
* `--older-mtime <OLDER_MTIME>` — Only include files and directories older than the specified date (unstable). This compares mtime entries.
507-
* `--newer-ctime <NEWER_CTIME>` — Only include files and directories newer than the specified date (unstable). This compares ctime entries.
508-
* `--newer-mtime <NEWER_MTIME>` — Only include files and directories newer than the specified date (unstable). This compares mtime entries.
517+
* `--older-ctime <DATETIME>` — Only include files and directories older than the specified date (unstable). This compares ctime entries.
518+
* `--older-mtime <DATETIME>` — Only include files and directories older than the specified date (unstable). This compares mtime entries.
519+
* `--newer-ctime <DATETIME>` — Only include files and directories newer than the specified date (unstable). This compares ctime entries.
520+
* `--newer-mtime <DATETIME>` — Only include files and directories newer than the specified date (unstable). This compares mtime entries.
509521
* `--newer-ctime-than <file>` [alias: `newer-than`] — Only include files and directories newer than the specified file (unstable). This compares ctime entries.
510522
* `--newer-mtime-than <file>` — Only include files and directories newer than the specified file (unstable). This compares mtime entries.
511523
* `--older-ctime-than <file>` [alias: `older-than`] — Only include files and directories older than the specified file (unstable). This compares ctime entries.
@@ -1258,6 +1270,9 @@ bsdtar-like CLI semantics for PNA archives
12581270
Default value: `false`
12591271
* `-H`, `--follow-command-links` — Follow symbolic links named on the command line (unstable)
12601272

1273+
Default value: `false`
1274+
* `-l`, `--check-links` [alias: `check-links`] — Warn if not all links to each file are archived (create mode)
1275+
12611276
Default value: `false`
12621277
* `--out-dir <DIRECTORY>` — Output directory of extracted files
12631278
* `--strip-components <N>` — Remove the specified number of leading path elements. Path names with fewer elements will be silently skipped

0 commit comments

Comments
 (0)