Examples (6)
List the contents of an archive
pax -f archive.tarList the contents of a `gzip` archive
pax -zf archive.tar.gzCreate an archive from files
pax -wf target.tar path/to/file1 path/to/file2 ...Create an archive from files, using output redirection
pax -w path/to/file1 path/to/file2 ... > target.tarExtract an archive into the current directory
pax -rf source.tarCopy to a directory, while keeping the original metadata; `target/` must exist
pax -rw path/to/file1 path/to/directory1 path/to/directory2 ... target/made by @shridhargupta | data from tldr-pages