1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-22 16:44:10 +02:00
tldr/pages/common/pax.md
Vitor Henrique d0a73c4b9c
pages*: fix brand and technical names (#12145)
* pages*: fix Python, Java, pacman, apt, *zip*, xz, tar, git, RPM and grep names

* pages*: fix brand and technical names

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* fluxctl, gitmoji, in-toto-run, osv-scanner: replace `git` with Git

* bzegrep: enclose egrep with backticks

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* git-bug: use Git instead of `git`

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* git-bug: use Git instead of `git`

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* git-force-clone: use Git instead of `git`

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* gitwatch: use Git instead of `git`

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* hub-init: use Git instead of `git`

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

* pages.*: use Linux instead of GNU/Linux

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-01-30 12:46:32 +08:00

722 B

pax

Archiving and copying utility. More information: https://manned.org/pax.1p.

  • List the contents of an archive:

pax -f {{archive.tar}}

  • List the contents of a gzip archive:

pax -zf {{archive.tar.gz}}

  • Create an archive from files:

pax -wf {{target.tar}} {{path/to/file1}} {{path/to/file2}} {{path/to/file3}}

  • Create an archive from files, using output redirection:

pax -w {{path/to/file1}} {{path/to/file2}} {{path/to/file3}} > {{target.tar}}

  • Extract an archive into the current directory:

pax -rf {{source.tar}}

  • Copy to a directory, while keeping the original metadata; target/ must exist:

pax -rw {{path/to/file1}} {{path/to/directory1}} {{path/to/directory2}} {{target/}}