This document contains the help content for the pna command-line program.
Command Overview:
pna↴pna create↴pna append↴pna extract↴pna list↴pna delete↴pna split↴pna concat↴pna strip↴pna sort↴pna xattr↴pna xattr get↴pna xattr set↴pna xattr help↴pna xattr help get↴pna xattr help set↴pna xattr help help↴pna complete↴pna bug-report↴pna compat↴pna compat bsdtar↴pna compat help↴pna compat help bsdtar↴pna compat help help↴pna experimental↴pna experimental stdio↴pna experimental delete↴pna experimental update↴pna experimental chown↴pna experimental chmod↴pna experimental acl↴pna experimental acl get↴pna experimental acl set↴pna experimental acl help↴pna experimental acl help get↴pna experimental acl help set↴pna experimental acl help help↴pna experimental migrate↴pna experimental chunk↴pna experimental chunk list↴pna experimental chunk help↴pna experimental chunk help list↴pna experimental chunk help help↴pna experimental sort↴pna experimental diff↴pna experimental help↴pna experimental help stdio↴pna experimental help delete↴pna experimental help update↴pna experimental help chown↴pna experimental help chmod↴pna experimental help acl↴pna experimental help acl get↴pna experimental help acl set↴pna experimental help migrate↴pna experimental help chunk↴pna experimental help chunk list↴pna experimental help sort↴pna experimental help diff↴pna experimental help help↴pna help↴pna help create↴pna help append↴pna help extract↴pna help list↴pna help delete↴pna help split↴pna help concat↴pna help strip↴pna help sort↴pna help xattr↴pna help xattr get↴pna help xattr set↴pna help complete↴pna help bug-report↴pna help compat↴pna help compat bsdtar↴pna help experimental↴pna help experimental stdio↴pna help experimental delete↴pna help experimental update↴pna help experimental chown↴pna help experimental chmod↴pna help experimental acl↴pna help experimental acl get↴pna help experimental acl set↴pna help experimental migrate↴pna help experimental chunk↴pna help experimental chunk list↴pna help experimental sort↴pna help experimental diff↴pna help help↴
Portable-Network-Archive cli
Usage: pna [OPTIONS] <COMMAND>
create— Create archiveappend— Append files to archiveextract— Extract files from archivelist— List files in archivedelete— Delete entry from archivesplit— Split archiveconcat— Concat archivesstrip— Strip entries metadatasort— Sort entries in archivexattr— Manipulate extended attributescomplete— Generate shell auto completebug-report— Generate bug report templatecompat— Compatibility interface for other archive toolsexperimental— Unstable experimental commands; behavior and interface may change or be removedhelp— Print this message or the help of the given subcommand(s)
-
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help -
-V,--version— Print version
Create archive
Usage: pna create [OPTIONS] <--file <FILE>|ARCHIVE> [FILES]...
Command Alias: c
<ARCHIVE>— Archive file path (deprecated, use --file)<FILES>— Files or directories to process
-
--one-file-system— Stay in the same file system when collecting filesDefault value:
false -
--nodump— Exclude files with the nodump flagDefault value:
false -
-r,--recursive[alias:recursion] — Add the directory to the archive recursivelyDefault value:
true -
--no-recursive[alias:no-recursion] — Do not recursively add directories to the archives. This is the inverse option of --recursiveDefault value:
false -
--overwrite— Overwrite fileDefault value:
false -
--no-overwrite— Do not overwrite files. This is the inverse option of --overwriteDefault value:
false -
--keep-dir— Include directories in archive (default)Default value:
false -
--no-keep-dir— Do not archive directories. This is the inverse option of --keep-dirDefault value:
false -
--keep-timestamp[alias:preserve-timestamps] — Preserve file timestampsDefault value:
false -
--no-keep-timestamp[alias:no-preserve-timestamps] — Do not archive timestamp of files. This is the inverse option of --preserve-timestampsDefault value:
false -
--keep-permission[alias:preserve-permissions] — Preserve file permissionsDefault value:
false -
--no-keep-permission[alias:no-preserve-permissions] — Do not archive permissions of files. This is the inverse option of --preserve-permissionsDefault value:
false -
--keep-xattr[alias:preserve-xattrs] — Preserve extended attributesDefault value:
false -
--no-keep-xattr[alias:no-preserve-xattrs] — Do not archive extended attributes of files. This is the inverse option of --preserve-xattrsDefault value:
false -
--keep-acl[alias:preserve-acls] — Preserve ACLsDefault value:
false -
--no-keep-acl[alias:no-preserve-acls] — Do not archive ACLs. This is the inverse option of --keep-aclDefault value:
false -
--split <size>— Splits archive by given size in bytes (minimum 64B) -
--solid— Compress multiple files together for better compression ratioDefault value:
false -
--uname <NAME>— Set user name for archive entries -
--gname <NAME>— Set group name for archive entries -
--uid <ID>— Overrides the user id read from disk; if --uname is not also specified, the user name will be set to match the user id -
--gid <ID>— Overrides the group id read from disk; if --gname is not also specified, the group name will be set to match the group id -
--strip-components <N>— Remove the specified number of leading path elements when storing paths -
--numeric-owner— This is equivalent to --uname "" --gname "". It causes user and group names to not be stored in the archiveDefault value:
false -
--ctime <DATETIME>— Overrides the creation time read from disk -
--clamp-ctime— Clamp the creation time of the entries to the specified time by --ctimeDefault value:
false -
--atime <DATETIME>— Overrides the access time read from disk -
--clamp-atime— Clamp the access time of the entries to the specified time by --atimeDefault value:
false -
--mtime <DATETIME>— Overrides the modification time read from disk -
--clamp-mtime— Clamp the modification time of the entries to the specified time by --mtimeDefault value:
false -
--older-ctime <DATETIME>— Only include files and directories older than the specified date. This compares ctime entries. -
--older-mtime <DATETIME>— Only include files and directories older than the specified date. This compares mtime entries. -
--newer-ctime <DATETIME>— Only include files and directories newer than the specified date. This compares ctime entries. -
--newer-mtime <DATETIME>— Only include files and directories newer than the specified date. This compares mtime entries. -
--newer-ctime-than <FILE>— Only include files and directories newer than the specified file. This compares ctime entries. -
--newer-mtime-than <FILE>— Only include files and directories newer than the specified file. This compares mtime entries. -
--older-ctime-than <FILE>— Only include files and directories older than the specified file. This compares ctime entries. -
--older-mtime-than <FILE>— Only include files and directories older than the specified file. This compares mtime entries. -
--files-from <FILE>— Read archiving files from given path -
--files-from-stdin— Read archiving files from stdinDefault value:
false -
--include <PATTERN>— Process only files or directories that match the specified pattern. Note that exclusions specified with --exclude take precedence over inclusions -
--exclude <PATTERN>— Exclude path glob -
--exclude-from <FILE>— Read exclude files from given path -
--exclude-vcs— Exclude files or directories internally used by version control systems (Arch,Bazaar,CVS,Darcs,Mercurial,RCS,SCCS,SVN,git)Default value:
false -
--gitignore— Ignore files from .gitignoreDefault value:
false -
--follow-links[alias:dereference] — Follow symbolic linksDefault value:
false -
-H,--follow-command-links— Follow symbolic links named on the command lineDefault value:
false -
--null— Filenames or patterns are separated by null characters, not by newlinesDefault value:
false -
-s <PATTERN>— Modify file or archive member names according to pattern that like BSD tar -s option -
--transform <PATTERN>[alias:xform] — Modify file or archive member names according to pattern that like GNU tar -transform option -
-C,--cd <DIRECTORY>[alias:directory] — Change directory before adding the following files -
--store— No compressionDefault value:
false -
--deflate <level>— Use deflate for compression [possible level: 1-9, min, max] -
--zstd <level>— Use zstd for compression [possible level: 1-21, min, max] -
--xz <level>— Use xz for compression [possible level: 0-9, min, max] -
--aes <cipher mode>— Use aes for encryptionPossible values:
cbc,ctr -
--camellia <cipher mode>— Use camellia for encryptionPossible values:
cbc,ctr -
--argon2 <PARAMS>— Use argon2 for password hashing -
--pbkdf2 <PARAMS>— Use pbkdf2 for password hashing -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
-f,--file <FILE>— Archive file path -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Append files to archive
Usage: pna append [OPTIONS] <--file <FILE>|ARCHIVE> [FILES]...
Command Alias: a
<ARCHIVE>— Archive file path (deprecated, use --file)<FILES>— Files or directories to process
-
--one-file-system— Stay in the same file system when collecting filesDefault value:
false -
--nodump— Exclude files with the nodump flagDefault value:
false -
-r,--recursive[alias:recursion] — Add the directory to the archive recursivelyDefault value:
true -
--no-recursive[alias:no-recursion] — Do not recursively add directories to the archives. This is the inverse option of --recursiveDefault value:
false -
--keep-dir— Include directories in archive (default)Default value:
false -
--no-keep-dir— Do not archive directories. This is the inverse option of --keep-dirDefault value:
false -
--keep-timestamp[alias:preserve-timestamps] — Preserve file timestampsDefault value:
false -
--no-keep-timestamp[alias:no-preserve-timestamps] — Do not archive timestamp of files. This is the inverse option of --preserve-timestampsDefault value:
false -
--keep-permission[alias:preserve-permissions] — Preserve file permissionsDefault value:
false -
--no-keep-permission[alias:no-preserve-permissions] — Do not archive permissions of files. This is the inverse option of --preserve-permissionsDefault value:
false -
--keep-xattr[alias:preserve-xattrs] — Preserve extended attributesDefault value:
false -
--no-keep-xattr[alias:no-preserve-xattrs] — Do not archive extended attributes of files. This is the inverse option of --preserve-xattrsDefault value:
false -
--keep-acl[alias:preserve-acls] — Preserve ACLsDefault value:
false -
--no-keep-acl[alias:no-preserve-acls] — Do not archive ACLs. This is the inverse option of --keep-aclDefault value:
false -
--uname <NAME>— Set user name for archive entries -
--gname <NAME>— Set group name for archive entries -
--uid <ID>— Overrides the user id read from disk; if --uname is not also specified, the user name will be set to match the user id -
--gid <ID>— Overrides the group id read from disk; if --gname is not also specified, the group name will be set to match the group id -
--strip-components <N>— Remove the specified number of leading path elements when storing paths -
--numeric-owner— This is equivalent to --uname "" --gname "". It causes user and group names to not be stored in the archiveDefault value:
false -
--ctime <DATETIME>— Overrides the creation time read from disk -
--clamp-ctime— Clamp the creation time of the entries to the specified time by --ctimeDefault value:
false -
--atime <DATETIME>— Overrides the access time read from disk -
--clamp-atime— Clamp the access time of the entries to the specified time by --atimeDefault value:
false -
--mtime <DATETIME>— Overrides the modification time read from disk -
--clamp-mtime— Clamp the modification time of the entries to the specified time by --mtimeDefault value:
false -
--older-ctime <DATETIME>— Only include files and directories older than the specified date. This compares ctime entries. -
--older-mtime <DATETIME>— Only include files and directories older than the specified date. This compares mtime entries. -
--newer-ctime <DATETIME>— Only include files and directories newer than the specified date. This compares ctime entries. -
--newer-mtime <DATETIME>— Only include files and directories newer than the specified date. This compares mtime entries. -
--newer-ctime-than <FILE>— Only include files and directories newer than the specified file. This compares ctime entries. -
--newer-mtime-than <FILE>— Only include files and directories newer than the specified file. This compares mtime entries. -
--older-ctime-than <FILE>— Only include files and directories older than the specified file. This compares ctime entries. -
--older-mtime-than <FILE>— Only include files and directories older than the specified file. This compares mtime entries. -
--files-from <FILE>— Read archiving files from given path -
--files-from-stdin— Read archiving files from stdinDefault value:
false -
--include <PATTERN>— Process only files or directories that match the specified pattern. Note that exclusions specified with --exclude take precedence over inclusions -
--exclude <PATTERN>— Exclude path glob -
--exclude-from <FILE>— Read exclude files from given path -
--exclude-vcs— Exclude files or directories internally used by version control systems (Arch,Bazaar,CVS,Darcs,Mercurial,RCS,SCCS,SVN,git)Default value:
false -
--gitignore— Ignore files from .gitignoreDefault value:
false -
--follow-links[alias:dereference] — Follow symbolic linksDefault value:
false -
-H,--follow-command-links— Follow symbolic links named on the command lineDefault value:
false -
--null— Filenames or patterns are separated by null characters, not by newlinesDefault value:
false -
-s <PATTERN>— Modify file or archive member names according to pattern that like BSD tar -s option -
--transform <PATTERN>[alias:xform] — Modify file or archive member names according to pattern that like GNU tar -transform option -
-C,--cd <DIRECTORY>[alias:directory] — Change directory before adding the following files -
--store— No compressionDefault value:
false -
--deflate <level>— Use deflate for compression [possible level: 1-9, min, max] -
--zstd <level>— Use zstd for compression [possible level: 1-21, min, max] -
--xz <level>— Use xz for compression [possible level: 0-9, min, max] -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--aes <cipher mode>— Use aes for encryptionPossible values:
cbc,ctr -
--camellia <cipher mode>— Use camellia for encryptionPossible values:
cbc,ctr -
--argon2 <PARAMS>— Use argon2 for password hashing -
--pbkdf2 <PARAMS>— Use pbkdf2 for password hashing -
-f,--file <FILE>— Archive file path -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Extract files from archive
Usage: pna extract [OPTIONS] <--file <FILE>|ARCHIVE> [FILES]...
Command Alias: x
<ARCHIVE>— Archive file path (deprecated, use --file)<FILES>— Files or directories to process
-
--overwrite— Overwrite fileDefault value:
false -
--no-overwrite— Do not overwrite files. This is the inverse option of --overwriteDefault value:
false -
--keep-newer-files— Skip extracting files if a newer version already existsDefault value:
false -
--keep-old-files— Skip extracting files if they already existDefault value:
false -
--out-dir <DIRECTORY>— Output directory of extracted files -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--keep-timestamp[alias:preserve-timestamps] — Restore the timestamp of the filesDefault value:
false -
--no-keep-timestamp[alias:no-preserve-timestamps] — Do not restore timestamp of files. This is the inverse option of --preserve-timestampsDefault value:
false -
--mtime <DATETIME>— Overrides the modification time -
--clamp-mtime— Clamp the modification time of the entries to the specified time by --mtimeDefault value:
false -
--ctime <DATETIME>— Overrides the creation time -
--clamp-ctime— Clamp the creation time of the entries to the specified time by --ctimeDefault value:
false -
--atime <DATETIME>— Overrides the access time -
--clamp-atime— Clamp the access time of the entries to the specified time by --atimeDefault value:
false -
--keep-permission[alias:preserve-permissions] — Restore the permissions of the filesDefault value:
false -
--no-keep-permission[alias:no-preserve-permissions] — Do not restore permissions of files. This is the inverse option of --preserve-permissionsDefault value:
false -
--keep-xattr[alias:preserve-xattrs] — Restore the extended attributes of the filesDefault value:
false -
--no-keep-xattr[alias:no-preserve-xattrs] — Do not restore extended attributes of files. This is the inverse option of --preserve-xattrsDefault value:
false -
--keep-acl[alias:preserve-acls] — Restore ACLsDefault value:
false -
--no-keep-acl[alias:no-preserve-acls] — Do not restore ACLs. This is the inverse option of --keep-aclDefault value:
false -
--uname <NAME>— Restore user from given name -
--gname <NAME>— Restore group from given name -
--uid <ID>— Overrides the user id in the archive; the user name in the archive will be ignored -
--gid <ID>— Overrides the group id in the archive; the group name in the archive will be ignored -
--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.Default value:
false -
--older-ctime <DATETIME>— Only include files and directories older than the specified date. This compares ctime entries. -
--older-mtime <DATETIME>— Only include files and directories older than the specified date. This compares mtime entries. -
--newer-ctime <DATETIME>— Only include files and directories newer than the specified date. This compares ctime entries. -
--newer-mtime <DATETIME>— Only include files and directories newer than the specified date. This compares mtime entries. -
--newer-ctime-than <file>[alias:newer-than] — Only include files and directories newer than the specified file. This compares ctime entries. -
--newer-mtime-than <file>— Only include files and directories newer than the specified file. This compares mtime entries. -
--older-ctime-than <file>[alias:older-than] — Only include files and directories older than the specified file. This compares ctime entries. -
--older-mtime-than <file>— Only include files and directories older than the specified file. This compares mtime entries. -
--archive-missing-ctime <ARCHIVE_MISSING_CTIME>[alias:arc-missing-ctime] — Behavior for archive entries without ctime when time filtering (unstable). Values: include, exclude, now, epoch, or a datetime. [default: include] -
--archive-missing-mtime <ARCHIVE_MISSING_MTIME>[alias:arc-missing-mtime] — Behavior for archive entries without mtime when time filtering (unstable). Values: include, exclude, now, epoch, or a datetime. [default: include] -
--include <PATTERN>— Process only files or directories that match the specified pattern. Note that exclusions specified with --exclude take precedence over inclusions -
--exclude <PATTERN>— Exclude path glob -
--exclude-from <FILE>— Read exclude files from given path -
--exclude-vcs— Exclude files or directories internally used by version control systems (Arch,Bazaar,CVS,Darcs,Mercurial,RCS,SCCS,SVN,git)Default value:
false -
--files-from <FILE>— Read extraction patterns from given path -
--null— Filenames or patterns are separated by null characters, not by newlinesDefault value:
false -
--strip-components <N>— Remove the specified number of leading path elements. Path names with fewer elements will be silently skipped -
-s <PATTERN>— Modify file or archive member names according to pattern that like BSD tar -s option -
--transform <PATTERN>[alias:xform] — Modify file or archive member names according to pattern that like GNU tar -transform option -
--same-owner— Try extracting files with the same ownership as exists in the archiveDefault value:
false -
--no-same-owner— Extract files as yourselfDefault value:
false -
-C,--cd <DIRECTORY>[alias:directory] — Change directories after opening the archive but before extracting entries from the archive -
--chroot— chroot() to the current directory after processing any --cd options and before extracting any files (requires root privileges)Default value:
false -
--allow-unsafe-links— Allow extracting symbolic links and hard links that contain root or parent pathsDefault value:
false -
--no-allow-unsafe-links— Do not allow extracting symbolic links and hard links that contain root or parent paths (default)Default value:
false -
--safe-writes— Extract files atomically via temp file and renameDefault value:
false -
--no-safe-writes— Disable atomic extraction. This is the inverse option of --safe-writesDefault value:
false -
-f,--file <FILE>— Archive file path -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
List files in archive
Usage: pna list [OPTIONS] <--file <FILE>|ARCHIVE> [FILES]...
Command Aliases: l, ls
<ARCHIVE>— Archive file path (deprecated, use --file)<FILES>— Files or directories to process
-
-l,--long— Display extended file metadata as a tableDefault value:
false -
-h,--header— Add a header row to each columnDefault value:
false -
--solid— Show entries that are compressed togetherDefault value:
false -
-@— Display extended file attributes in a tableDefault value:
false -
-e— Display ACLs in a tableDefault value:
false -
-O,--show-fflags— Display file flags (uchg, nodump, hidden, etc.)Default value:
false -
--private— Display private chunks in a tableDefault value:
false -
--numeric-owner— Display user id and group id instead of user name and group nameDefault value:
false -
-T— When used with the -l option, display complete time information for the entry, including month, day, hour, minute, second, and yearDefault value:
false -
--format <FORMAT>— Display format [unstable: jsonl, bsdtar, csv, tsv]Possible values:
line,table,jsonl,tree,bsdtar,csv,tsv -
--time <TIME>— Which timestamp field to list (modified, accessed, created)Possible values:
created,modified,accessed -
--older-ctime <OLDER_CTIME>— Only include files and directories older than the specified date. This compares ctime entries. -
--older-mtime <OLDER_MTIME>— Only include files and directories older than the specified date. This compares mtime entries. -
--newer-ctime <NEWER_CTIME>— Only include files and directories newer than the specified date. This compares ctime entries. -
--newer-mtime <NEWER_MTIME>— Only include files and directories newer than the specified date. This compares mtime entries. -
--newer-ctime-than <file>[alias:newer-than] — Only include files and directories newer than the specified file. This compares ctime entries. -
--newer-mtime-than <file>— Only include files and directories newer than the specified file. This compares mtime entries. -
--older-ctime-than <file>[alias:older-than] — Only include files and directories older than the specified file. This compares ctime entries. -
--older-mtime-than <file>— Only include files and directories older than the specified file. This compares mtime entries. -
--archive-missing-ctime <ARCHIVE_MISSING_CTIME>[alias:arc-missing-ctime] — Behavior for archive entries without ctime when time filtering (unstable). Values: include, exclude, now, epoch, or a datetime. [default: include] -
--archive-missing-mtime <ARCHIVE_MISSING_MTIME>[alias:arc-missing-mtime] — Behavior for archive entries without mtime when time filtering (unstable). Values: include, exclude, now, epoch, or a datetime. [default: include] -
-q— Force printing of non-graphic characters in file names as the character '?'Default value:
false -
--classify— Append file type indicators (/ for directories, @ for symlinks)Default value:
false -
--recursive[alias:recursion] — Operate recursively on the content of directories (default)Default value:
true -
-n,--no-recursive[aliases:norecurse,no-recursion] — Do not operate recursively on the content of directoriesDefault value:
false -
--include <PATTERN>— Process only files or directories that match the specified pattern. Note that exclusions specified with --exclude take precedence over inclusions -
--exclude <PATTERN>— Exclude path glob -
--exclude-from <FILE>— Read exclude files from given path -
--exclude-vcs— Exclude files or directories internally used by version control systems (Arch,Bazaar,CVS,Darcs,Mercurial,RCS,SCCS,SVN,git)Default value:
false -
--null— Filenames or patterns are separated by null characters, not by newlinesDefault value:
false -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
-f,--file <FILE>— Archive file path -
--help— Print help -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false
Delete entry from archive
Usage: pna delete [OPTIONS] --file <ARCHIVE> [FILES]...
<FILES>
-
--output <OUTPUT>— Output file path -
--files-from <FILE>— Read deleting files from given path -
--files-from-stdin— Read deleting files from stdinDefault value:
false -
--include <PATTERN>— Process only files or directories that match the specified pattern. Note that exclusions specified with --exclude take precedence over inclusions -
--exclude <PATTERN>— Exclude path glob -
--exclude-from <FILE>— Read exclude files from given path -
--exclude-vcs— Exclude files or directories internally used by version control systems (Arch,Bazaar,CVS,Darcs,Mercurial,RCS,SCCS,SVN,git)Default value:
false -
--null— Filenames or patterns are separated by null characters, not by newlinesDefault value:
false -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--unsolid— Convert solid entries to regular entriesDefault value:
false -
--keep-solid— Preserve solid entries without conversionDefault value:
false -
-f,--file <ARCHIVE> -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Split archive
Usage: pna split [OPTIONS] <--file <FILE>|ARCHIVE>
<ARCHIVE>
-
-f,--file <FILE>— Archive file path -
--out-dir <DIRECTORY>— Output directory for split archives -
--overwrite— Overwrite fileDefault value:
false -
--no-overwrite— Do not overwrite files. This is the inverse option of --overwriteDefault value:
false -
--max-size <size>— Maximum size in bytes of split archive (minimum 64B) -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Concat archives
Usage: pna concat [OPTIONS] <--files <FILES>|ARCHIVES>
<ARCHIVES>— Archive files to concatenate (deprecated, use --files)
-
--overwrite— Overwrite fileDefault value:
false -
--no-overwrite— Do not overwrite files. This is the inverse option of --overwriteDefault value:
false -
-f,--files <FILES>— Archive files to concatenate -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Strip entries metadata
Usage: pna strip [OPTIONS] <--file <FILE>|ARCHIVE> [FILES]...
<ARCHIVE>— Archive file path (deprecated, use --file)<FILES>— Files or directories to process
-
--keep-timestamp[alias:preserve-timestamps] — Preserve file timestampsDefault value:
false -
--keep-permission[alias:preserve-permissions] — Preserve file permissionsDefault value:
false -
--keep-xattr[alias:preserve-xattrs] — Preserve extended attributesDefault value:
false -
--keep-acl[alias:preserve-acls] — Preserve ACLsDefault value:
false -
--keep-private <CHUNK_TYPE>[alias:preserve-private_chunks] — Keep private chunks. If no CHUNK_TYPE is specified, all private chunks are kept -
--unsolid— Convert solid entries to regular entriesDefault value:
false -
--keep-solid— Preserve solid entries without conversionDefault value:
false -
--output <OUTPUT>— Output file path -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
-f,--file <FILE>— Archive file path -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Sort entries in archive
Usage: pna sort [OPTIONS] --file <ARCHIVE>
-
-f,--file <ARCHIVE>— Archive file path -
--output <OUTPUT>— Output archive file path -
--by <KEY>— Sort key in format KEY[:ORDER] (e.g., name, mtime:desc) [keys: name, ctime, mtime, atime] [orders: asc, desc]Default value:
name -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Manipulate extended attributes
Usage: pna xattr [OPTIONS] pna xattr <COMMAND>
get— Get extended attributes of entriesset— Set extended attributes of entrieshelp— Print this message or the help of the given subcommand(s)
-
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Get extended attributes of entries
Usage: pna xattr get [OPTIONS] <--file <FILE>|ARCHIVE> [FILES]...
<ARCHIVE>— Archive file path (deprecated, use --file)<FILES>— Files or directories to process
-
-f,--file <FILE>— Archive file path -
-n,--name <NAME>— Dump the value of the named extended attribute -
-d,--dump— Dump the values of all matched extended attributesDefault value:
false -
-m,--match <pattern>— Only include attributes with names matching the regular expression pattern. Specify '-' for including all attributes -
-e,--encoding <ENCODING>— Encode values after retrieving themPossible values:
text,hex,base64 -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Set extended attributes of entries
Usage: pna xattr set [OPTIONS] <--file <FILE>|ARCHIVE> [FILES]...
<ARCHIVE>— Archive file path (deprecated, use --file)<FILES>— Files or directories to process
-
-f,--file <FILE>— Archive file path -
-n,--name <NAME>— Name of extended attribute -
-v,--value <VALUE>— Value of extended attribute -
-x,--remove <NAME>— Remove extended attribute -
--restore <FILE>— Restores extended attributes from file. The file must be in the format generated by the pna xattr get command with the --dump option. If a dash (-) is given as the file name, reads from standard input -
--unsolid— Convert solid entries to regular entriesDefault value:
false -
--keep-solid— Preserve solid entries without conversionDefault value:
false -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Print this message or the help of the given subcommand(s)
Usage: pna xattr help [COMMAND]
get— Get extended attributes of entriesset— Set extended attributes of entrieshelp— Print this message or the help of the given subcommand(s)
Get extended attributes of entries
Usage: pna xattr help get
Set extended attributes of entries
Usage: pna xattr help set
Print this message or the help of the given subcommand(s)
Usage: pna xattr help help
Generate shell auto complete
Usage: pna complete [OPTIONS] <SHELL>
-
<SHELL>— shellPossible values:
bash,elvish,fish,powershell,zsh
-
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Generate bug report template
Usage: pna bug-report [OPTIONS]
-
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Compatibility interface for other archive tools
Usage: pna compat [OPTIONS] pna compat <COMMAND>
bsdtar— bsdtar-like CLI semantics for PNA archiveshelp— Print this message or the help of the given subcommand(s)
-
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
bsdtar-like CLI semantics for PNA archives
Usage: pna compat bsdtar [OPTIONS] <--create|--extract|--list|--append|--update> [FILES]...
<FILES>— Files or patterns
-
--one-file-system— Stay in the same file system when collecting filesDefault value:
false -
--nodump— Exclude files with the nodump flagDefault value:
false -
-c,--create— Create archiveDefault value:
false -
-x,--extract— Extract archiveDefault value:
false -
-t,--list— List files in archiveDefault value:
false -
-q,--fast-read— Performance optimization for list/extract: stop after the first match for each operand and ignore later duplicatesDefault value:
false -
-r,--append— Append files to archiveDefault value:
false -
-u,--update— Update archive with newer filesDefault value:
false -
--recursive[alias:recursion] — Add directories to the archive recursivelyDefault value:
true -
-n,--no-recursive[aliases:norecurse,no-recursion] — Do not recursively add directories to the archives. This is the inverse option of --recursiveDefault value:
false -
--overwrite— Overwrite fileDefault value:
false -
--no-overwrite— Do not overwrite files. This is the inverse option of --overwriteDefault value:
false -
--keep-newer-files— Skip extracting files if a newer version already existsDefault value:
false -
-U,--unlink-first[alias:unlink] — Unlink files before creating them; also removes intervening directory symlinks (extract mode only)Default value:
false -
-k,--keep-old-files— Skip extracting files if they already existDefault value:
false -
--keep-dir— Include directories in archive (default)Default value:
false -
--no-keep-dir— Do not archive directories. This is the inverse option of --keep-dirDefault value:
false -
--keep-timestamp[alias:preserve-timestamps] — Preserve file timestampsDefault value:
false -
-m,--no-keep-timestamp[aliases:no-preserve-timestamps,modification_time] — Do not archive timestamp of files. This is the inverse option of --preserve-timestampsDefault value:
false -
--no-same-permissions[aliases:no-preserve-permissions,no-permissions] — Do not store file permissions (mode bits) in the archiveDefault value:
false -
-p,--same-permissions[alias:preserve-permissions] — Restore file permissions (mode, ACLs, xattrs, fflags, mac-metadata, but NOT ownership) (extract only)Default value:
false -
--keep-xattr[aliases:preserve-xattrs,xattrs] — Preserve extended attributesDefault value:
false -
--no-keep-xattr[aliases:no-preserve-xattrs,no-xattrs] — Do not archive extended attributes of files. This is the inverse option of --preserve-xattrsDefault value:
false -
--keep-acl[aliases:preserve-acls,acls] — Preserve ACLsDefault value:
false -
--no-keep-acl[aliases:no-preserve-acls,no-acls] — Do not archive ACLs. This is the inverse option of --keep-aclDefault value:
false -
--keep-fflags[aliases:preserve-fflags,fflags] — Archiving the file flags of the filesDefault value:
false -
--no-keep-fflags[aliases:no-preserve-fflags,no-fflags] — Do not archive file flags of files. This is the inverse option of --keep-fflagsDefault value:
false -
--mac-metadata— Archive and extract Mac metadata (extended attributes and ACLs)Default value:
false -
--no-mac-metadata— Do not archive or extract Mac metadata. This is the inverse option of --mac-metadataDefault value:
false -
--solid— Compress multiple files together for better compression ratioDefault value:
false -
--store— No compressionDefault value:
false -
--deflate <level>[alias:zlib] — Use deflate for compression [possible level: 1-9, min, max] -
--zstd <level>— Use zstd for compression [possible level: 1-21, min, max] -
-J,--xz <level>— Use xz for compression [possible level: 0-9, min, max] -
--aes <cipher mode>— Use aes for encryptionPossible values:
cbc,ctr -
--camellia <cipher mode>— Use camellia for encryptionPossible values:
cbc,ctr -
--argon2 <PARAMS>— Use argon2 for password hashing -
--pbkdf2 <PARAMS>— Use pbkdf2 for password hashing -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--options <OPTIONS>— Comma-separated list of options. Format: key=value or module:key=value. Supported: compression-level. Modules: deflate, zstd, xz -
--include <PATTERN>— Process only files or directories that match the specified pattern. Note that exclusions specified with --exclude take precedence over inclusions -
--exclude <PATTERN>— Exclude path glob -
-X,--exclude-from <FILE>— Read exclude files from given path -
--exclude-vcs— Exclude files or directories internally used by version control systems (Arch,Bazaar,CVS,Darcs,Mercurial,RCS,SCCS,SVN,git)Default value:
false -
--gitignore— Ignore files from .gitignoreDefault value:
false -
-L,--follow-links[alias:dereference] — Follow symbolic linksDefault value:
false -
-H,--follow-command-links— Follow symbolic links named on the command lineDefault value:
false -
-l,--check-links[alias:check-links] — Warn if not all links to each file are archived (create mode)Default value:
false -
--out-dir <DIRECTORY>— Output directory of extracted files -
--strip-components <N>— Remove the specified number of leading path elements. Path names with fewer elements will be silently skipped -
--owner <NAME[:ID]>— Use the provided owner, if uid is not provided, name can be either a user name or numeric id. See the --uname option for details. -
--uname <NAME>— On create, archiving user to the entries from given name. On extract, restore user from given name -
--gname <NAME>— On create, archiving group to the entries from given name. On extract, restore group from given name -
--uid <ID>— On create, this overrides the user id read from disk; if --uname is not also specified, the user name will be set to match the user id. On extract, this overrides the user id in the archive; the user name in the archive will be ignored -
--gid <ID>— On create, this overrides the group id read from disk; if --gname is not also specified, the group name will be set to match the group id. On extract, this overrides the group id in the archive; the group name in the archive will be ignored -
--group <NAME[:ID]>— Use the provided group, if gid is not provided, name can be either a group name or numeric id. See the --gname option for details. -
--numeric-owner— This is equivalent to --uname "" --gname "". On create, it causes user and group names to not be stored in the archive. On extract, it causes user and group names in the archive to be ignored in favor of the numeric user and group ids.Default value:
false -
--ctime <DATETIME>— Overrides the creation time -
--clamp-ctime— Clamp the creation time of the entries to the specified time by --ctimeDefault value:
false -
--atime <DATETIME>— Overrides the access time -
--clamp-atime— Clamp the access time of the entries to the specified time by --atimeDefault value:
false -
--mtime <DATETIME>— Overrides the modification time -
--clamp-mtime— Clamp the modification time of the entries to the specified time by --mtimeDefault value:
false -
--older-ctime <DATETIME>— Only include files and directories older than the specified date. This compares ctime entries. -
--older-mtime <DATETIME>[alias:older] — Only include files and directories older than the specified date. This compares mtime entries. -
--newer-ctime <DATETIME>— Only include files and directories newer than the specified date. This compares ctime entries. -
--newer-mtime <DATETIME>[alias:newer] — Only include files and directories newer than the specified date. This compares mtime entries. -
--newer-ctime-than <FILE>— Only include files and directories newer than the specified file. This compares ctime entries. -
--newer-mtime-than <FILE>[alias:newer-than] — Only include files and directories newer than the specified file. This compares mtime entries. -
--older-ctime-than <FILE>— Only include files and directories older than the specified file. This compares ctime entries. -
--older-mtime-than <FILE>[alias:older-than] — Only include files and directories older than the specified file. This compares mtime entries. -
-T,--files-from <FILE>— Read archiving files from given path -
-s <PATTERN>— Modify file or archive member names according to pattern that like BSD tar -s option -
--transform <PATTERN>[alias:xform] — Modify file or archive member names according to pattern that like GNU tar -transform option -
--same-owner— Try extracting files with the same ownership as exists in the archiveDefault value:
false -
--no-same-owner— Extract files as yourselfDefault value:
false -
-C,--cd <DIRECTORY>[alias:directory] — Change directory before adding the following files -
-O,--to-stdout— Write extracted file data to standard output instead of the file systemDefault value:
false -
--allow-unsafe-links— Allow extracting symbolic links and hard links that contain root or parent paths (default)Default value:
false -
--no-allow-unsafe-links— Do not allow extracting symbolic links and hard links that contain root or parent pathsDefault value:
false -
--chroot— chroot() to the current directory after processing any --cd options and before extracting any files (requires root privileges)Default value:
false -
-P,--absolute-paths— Do not strip leading '/' or '..' from member names and link targetsDefault value:
false -
-f,--file <FILE>— Read the archive from or write the archive to the specified file. The filename can be - for standard input or standard output. -
--null— Filenames or patterns are separated by null characters, not by newlinesDefault value:
false -
-v— VerboseDefault value:
false -
--ignore-zeros— Continue reading concatenated archives after the first archive ends instead of stopping at the first archive boundaryDefault value:
false -
--version— Print version -
-h,--help— Print help -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false
Print this message or the help of the given subcommand(s)
Usage: pna compat help [COMMAND]
bsdtar— bsdtar-like CLI semantics for PNA archiveshelp— Print this message or the help of the given subcommand(s)
bsdtar-like CLI semantics for PNA archives
Usage: pna compat help bsdtar
Print this message or the help of the given subcommand(s)
Usage: pna compat help help
Unstable experimental commands; behavior and interface may change or be removed
Usage: pna experimental [OPTIONS] pna experimental <COMMAND>
stdio— bsdtar-like CLI semantics for PNA archives (stabilized, usepna compat bsdtarinstead)delete— Delete entry from archive (stabilized, usepna deletecommand instead. this command will be removed in the future)update— Update entries in archivechown— Change ownerchmod— Change modeacl— Manipulate ACLs of entriesmigrate— Migrate old format to latest formatchunk— Chunk level operationsort— Sort entries in archive (stabilized, usepna sortcommand instead. this command will be removed in the future)diff— Compare archive entries with filesystemhelp— Print this message or the help of the given subcommand(s)
-
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
bsdtar-like CLI semantics for PNA archives (stabilized, use pna compat bsdtar instead)
Usage: pna experimental stdio [OPTIONS] <--create|--extract|--list|--append|--update> [FILES]...
<FILES>— Files or patterns
-
--one-file-system— Stay in the same file system when collecting filesDefault value:
false -
--nodump— Exclude files with the nodump flagDefault value:
false -
-c,--create— Create archiveDefault value:
false -
-x,--extract— Extract archiveDefault value:
false -
-t,--list— List files in archiveDefault value:
false -
-q,--fast-read— Performance optimization for list/extract: stop after the first match for each operand and ignore later duplicatesDefault value:
false -
-r,--append— Append files to archiveDefault value:
false -
-u,--update— Update archive with newer filesDefault value:
false -
--recursive[alias:recursion] — Add directories to the archive recursivelyDefault value:
true -
-n,--no-recursive[aliases:norecurse,no-recursion] — Do not recursively add directories to the archives. This is the inverse option of --recursiveDefault value:
false -
--overwrite— Overwrite fileDefault value:
false -
--no-overwrite— Do not overwrite files. This is the inverse option of --overwriteDefault value:
false -
--keep-newer-files— Skip extracting files if a newer version already existsDefault value:
false -
-U,--unlink-first[alias:unlink] — Unlink files before creating them; also removes intervening directory symlinks (extract mode only)Default value:
false -
-k,--keep-old-files— Skip extracting files if they already existDefault value:
false -
--keep-dir— Include directories in archive (default)Default value:
false -
--no-keep-dir— Do not archive directories. This is the inverse option of --keep-dirDefault value:
false -
--keep-timestamp[alias:preserve-timestamps] — Preserve file timestampsDefault value:
false -
-m,--no-keep-timestamp[aliases:no-preserve-timestamps,modification_time] — Do not archive timestamp of files. This is the inverse option of --preserve-timestampsDefault value:
false -
--no-same-permissions[aliases:no-preserve-permissions,no-permissions] — Do not store file permissions (mode bits) in the archiveDefault value:
false -
-p,--same-permissions[alias:preserve-permissions] — Restore file permissions (mode, ACLs, xattrs, fflags, mac-metadata, but NOT ownership) (extract only)Default value:
false -
--keep-xattr[aliases:preserve-xattrs,xattrs] — Preserve extended attributesDefault value:
false -
--no-keep-xattr[aliases:no-preserve-xattrs,no-xattrs] — Do not archive extended attributes of files. This is the inverse option of --preserve-xattrsDefault value:
false -
--keep-acl[aliases:preserve-acls,acls] — Preserve ACLsDefault value:
false -
--no-keep-acl[aliases:no-preserve-acls,no-acls] — Do not archive ACLs. This is the inverse option of --keep-aclDefault value:
false -
--keep-fflags[aliases:preserve-fflags,fflags] — Archiving the file flags of the filesDefault value:
false -
--no-keep-fflags[aliases:no-preserve-fflags,no-fflags] — Do not archive file flags of files. This is the inverse option of --keep-fflagsDefault value:
false -
--mac-metadata— Archive and extract Mac metadata (extended attributes and ACLs)Default value:
false -
--no-mac-metadata— Do not archive or extract Mac metadata. This is the inverse option of --mac-metadataDefault value:
false -
--solid— Compress multiple files together for better compression ratioDefault value:
false -
--store— No compressionDefault value:
false -
--deflate <level>[alias:zlib] — Use deflate for compression [possible level: 1-9, min, max] -
--zstd <level>— Use zstd for compression [possible level: 1-21, min, max] -
-J,--xz <level>— Use xz for compression [possible level: 0-9, min, max] -
--aes <cipher mode>— Use aes for encryptionPossible values:
cbc,ctr -
--camellia <cipher mode>— Use camellia for encryptionPossible values:
cbc,ctr -
--argon2 <PARAMS>— Use argon2 for password hashing -
--pbkdf2 <PARAMS>— Use pbkdf2 for password hashing -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--options <OPTIONS>— Comma-separated list of options. Format: key=value or module:key=value. Supported: compression-level. Modules: deflate, zstd, xz -
--include <PATTERN>— Process only files or directories that match the specified pattern. Note that exclusions specified with --exclude take precedence over inclusions -
--exclude <PATTERN>— Exclude path glob -
-X,--exclude-from <FILE>— Read exclude files from given path -
--exclude-vcs— Exclude files or directories internally used by version control systems (Arch,Bazaar,CVS,Darcs,Mercurial,RCS,SCCS,SVN,git)Default value:
false -
--gitignore— Ignore files from .gitignoreDefault value:
false -
-L,--follow-links[alias:dereference] — Follow symbolic linksDefault value:
false -
-H,--follow-command-links— Follow symbolic links named on the command lineDefault value:
false -
-l,--check-links[alias:check-links] — Warn if not all links to each file are archived (create mode)Default value:
false -
--out-dir <DIRECTORY>— Output directory of extracted files -
--strip-components <N>— Remove the specified number of leading path elements. Path names with fewer elements will be silently skipped -
--owner <NAME[:ID]>— Use the provided owner, if uid is not provided, name can be either a user name or numeric id. See the --uname option for details. -
--uname <NAME>— On create, archiving user to the entries from given name. On extract, restore user from given name -
--gname <NAME>— On create, archiving group to the entries from given name. On extract, restore group from given name -
--uid <ID>— On create, this overrides the user id read from disk; if --uname is not also specified, the user name will be set to match the user id. On extract, this overrides the user id in the archive; the user name in the archive will be ignored -
--gid <ID>— On create, this overrides the group id read from disk; if --gname is not also specified, the group name will be set to match the group id. On extract, this overrides the group id in the archive; the group name in the archive will be ignored -
--group <NAME[:ID]>— Use the provided group, if gid is not provided, name can be either a group name or numeric id. See the --gname option for details. -
--numeric-owner— This is equivalent to --uname "" --gname "". On create, it causes user and group names to not be stored in the archive. On extract, it causes user and group names in the archive to be ignored in favor of the numeric user and group ids.Default value:
false -
--ctime <DATETIME>— Overrides the creation time -
--clamp-ctime— Clamp the creation time of the entries to the specified time by --ctimeDefault value:
false -
--atime <DATETIME>— Overrides the access time -
--clamp-atime— Clamp the access time of the entries to the specified time by --atimeDefault value:
false -
--mtime <DATETIME>— Overrides the modification time -
--clamp-mtime— Clamp the modification time of the entries to the specified time by --mtimeDefault value:
false -
--older-ctime <DATETIME>— Only include files and directories older than the specified date. This compares ctime entries. -
--older-mtime <DATETIME>[alias:older] — Only include files and directories older than the specified date. This compares mtime entries. -
--newer-ctime <DATETIME>— Only include files and directories newer than the specified date. This compares ctime entries. -
--newer-mtime <DATETIME>[alias:newer] — Only include files and directories newer than the specified date. This compares mtime entries. -
--newer-ctime-than <FILE>— Only include files and directories newer than the specified file. This compares ctime entries. -
--newer-mtime-than <FILE>[alias:newer-than] — Only include files and directories newer than the specified file. This compares mtime entries. -
--older-ctime-than <FILE>— Only include files and directories older than the specified file. This compares ctime entries. -
--older-mtime-than <FILE>[alias:older-than] — Only include files and directories older than the specified file. This compares mtime entries. -
-T,--files-from <FILE>— Read archiving files from given path -
-s <PATTERN>— Modify file or archive member names according to pattern that like BSD tar -s option -
--transform <PATTERN>[alias:xform] — Modify file or archive member names according to pattern that like GNU tar -transform option -
--same-owner— Try extracting files with the same ownership as exists in the archiveDefault value:
false -
--no-same-owner— Extract files as yourselfDefault value:
false -
-C,--cd <DIRECTORY>[alias:directory] — Change directory before adding the following files -
-O,--to-stdout— Write extracted file data to standard output instead of the file systemDefault value:
false -
--allow-unsafe-links— Allow extracting symbolic links and hard links that contain root or parent paths (default)Default value:
false -
--no-allow-unsafe-links— Do not allow extracting symbolic links and hard links that contain root or parent pathsDefault value:
false -
--chroot— chroot() to the current directory after processing any --cd options and before extracting any files (requires root privileges)Default value:
false -
-P,--absolute-paths— Do not strip leading '/' or '..' from member names and link targetsDefault value:
false -
-f,--file <FILE>— Read the archive from or write the archive to the specified file. The filename can be - for standard input or standard output. -
--null— Filenames or patterns are separated by null characters, not by newlinesDefault value:
false -
-v— VerboseDefault value:
false -
--ignore-zeros— Continue reading concatenated archives after the first archive ends instead of stopping at the first archive boundaryDefault value:
false -
--version— Print version -
-h,--help— Print help -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false
Delete entry from archive (stabilized, use pna delete command instead. this command will be removed in the future)
Usage: pna experimental delete [OPTIONS] --file <ARCHIVE> [FILES]...
<FILES>
-
--output <OUTPUT>— Output file path -
--files-from <FILE>— Read deleting files from given path -
--files-from-stdin— Read deleting files from stdinDefault value:
false -
--include <PATTERN>— Process only files or directories that match the specified pattern. Note that exclusions specified with --exclude take precedence over inclusions -
--exclude <PATTERN>— Exclude path glob -
--exclude-from <FILE>— Read exclude files from given path -
--exclude-vcs— Exclude files or directories internally used by version control systems (Arch,Bazaar,CVS,Darcs,Mercurial,RCS,SCCS,SVN,git)Default value:
false -
--null— Filenames or patterns are separated by null characters, not by newlinesDefault value:
false -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--unsolid— Convert solid entries to regular entriesDefault value:
false -
--keep-solid— Preserve solid entries without conversionDefault value:
false -
-f,--file <ARCHIVE> -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Update entries in archive
Usage: pna experimental update [OPTIONS] --file <ARCHIVE> [FILES]...
<FILES>
-
--one-file-system— Stay in the same file system when collecting filesDefault value:
false -
--nodump— Exclude files with the nodump flagDefault value:
false -
-r,--recursive[alias:recursion] — Add the directory to the archive recursivelyDefault value:
true -
--no-recursive[alias:no-recursion] — Do not recursively add directories to the archives. This is the inverse option of --recursiveDefault value:
false -
--keep-dir— Include directories in archive (default)Default value:
false -
--no-keep-dir— Do not archive directories. This is the inverse option of --keep-dirDefault value:
false -
--keep-timestamp[alias:preserve-timestamps] — Preserve file timestampsDefault value:
false -
--no-keep-timestamp[alias:no-preserve-timestamps] — Do not archive timestamp of files. This is the inverse option of --preserve-timestampsDefault value:
false -
--keep-permission[alias:preserve-permissions] — Preserve file permissionsDefault value:
false -
--no-keep-permission[alias:no-preserve-permissions] — Do not archive permissions of files. This is the inverse option of --preserve-permissionsDefault value:
false -
--keep-xattr[alias:preserve-xattrs] — Preserve extended attributesDefault value:
false -
--no-keep-xattr[alias:no-preserve-xattrs] — Do not archive extended attributes of files. This is the inverse option of --preserve-xattrsDefault value:
false -
--keep-acl[alias:preserve-acls] — Preserve ACLsDefault value:
false -
--no-keep-acl[alias:no-preserve-acls] — Do not archive ACLs. This is the inverse option of --keep-aclDefault value:
false -
--uname <NAME>— Set user name for archive entries -
--gname <NAME>— Set group name for archive entries -
--uid <ID>— Overrides the user id read from disk; if --uname is not also specified, the user name will be set to match the user id -
--gid <ID>— Overrides the group id read from disk; if --gname is not also specified, the group name will be set to match the group id -
--strip-components <N>— Remove the specified number of leading path elements when storing paths -
--numeric-owner— This is equivalent to --uname "" --gname "". It causes user and group names to not be stored in the archiveDefault value:
false -
--ctime <DATETIME>— Overrides the creation time read from disk -
--clamp-ctime— Clamp the creation time of the entries to the specified time by --ctimeDefault value:
false -
--atime <DATETIME>— Overrides the access time read from disk -
--clamp-atime— Clamp the access time of the entries to the specified time by --atimeDefault value:
false -
--mtime <DATETIME>— Overrides the modification time read from disk -
--clamp-mtime— Clamp the modification time of the entries to the specified time by --mtimeDefault value:
false -
--older-ctime <DATETIME>— Only include files and directories older than the specified date. This compares ctime entries. -
--older-mtime <DATETIME>— Only include files and directories older than the specified date. This compares mtime entries. -
--newer-ctime <DATETIME>— Only include files and directories newer than the specified date. This compares ctime entries. -
--newer-mtime <DATETIME>— Only include files and directories newer than the specified date. This compares mtime entries. -
--newer-ctime-than <FILE>— Only include files and directories newer than the specified file. This compares ctime entries. -
--newer-mtime-than <FILE>— Only include files and directories newer than the specified file. This compares mtime entries. -
--older-ctime-than <FILE>— Only include files and directories older than the specified file. This compares ctime entries. -
--older-mtime-than <FILE>— Only include files and directories older than the specified file. This compares mtime entries. -
--archive-missing-ctime <ARCHIVE_MISSING_CTIME>[alias:arc-missing-ctime] — Behavior for archive entries without ctime during update staleness judgment (unstable). Values: include, exclude, now, epoch, or a datetime. [default: include] -
--archive-missing-mtime <ARCHIVE_MISSING_MTIME>[alias:arc-missing-mtime] — Behavior for archive entries without mtime during update staleness judgment (unstable). Values: include, exclude, now, epoch, or a datetime. [default: include] -
--files-from <FILE>— Read archiving files from given path -
--files-from-stdin— Read archiving files from stdinDefault value:
false -
--include <PATTERN>— Process only files or directories that match the specified pattern. Note that exclusions specified with --exclude take precedence over inclusions -
--exclude <PATTERN>— Exclude path glob -
--exclude-from <FILE>— Read exclude files from given path -
--exclude-vcs— Exclude files or directories internally used by version control systems (Arch,Bazaar,CVS,Darcs,Mercurial,RCS,SCCS,SVN,git)Default value:
false -
-s <PATTERN>— Modify file or archive member names according to pattern that like BSD tar -s option -
--transform <PATTERN>[alias:xform] — Modify file or archive member names according to pattern that like GNU tar -transform option -
-C,--cd <DIRECTORY>[alias:directory] — Change directory before adding the following files -
--store— No compressionDefault value:
false -
--deflate <level>— Use deflate for compression [possible level: 1-9, min, max] -
--zstd <level>— Use zstd for compression [possible level: 1-21, min, max] -
--xz <level>— Use xz for compression [possible level: 0-9, min, max] -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--aes <cipher mode>— Use aes for encryptionPossible values:
cbc,ctr -
--camellia <cipher mode>— Use camellia for encryptionPossible values:
cbc,ctr -
--argon2 <PARAMS>— Use argon2 for password hashing -
--pbkdf2 <PARAMS>— Use pbkdf2 for password hashing -
--unsolid— Convert solid entries to regular entriesDefault value:
false -
--keep-solid— Preserve solid entries without conversionDefault value:
false -
-f,--file <ARCHIVE> -
--null— Filenames or patterns are separated by null characters, not by newlinesDefault value:
false -
--gitignore— Ignore files from .gitignoreDefault value:
false -
--follow-links[alias:dereference] — Follow symbolic linksDefault value:
false -
-H,--follow-command-links— Follow symbolic links named on the command lineDefault value:
false -
--sync— Synchronize archive with source: remove entries for files that no longer exist in the sourceDefault value:
false -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Change owner
Usage: pna experimental chown [OPTIONS] --file <ARCHIVE> <OWNER> [FILES]...
<OWNER>— owner[:group]|:group<FILES>
-
-f,--file <ARCHIVE> -
--numeric-owner— force numeric owner and group IDs (no name resolution)Default value:
false -
--owner-lookup— resolve user and group (default)Default value:
false -
--no-owner-lookup— do not resolve user and groupDefault value:
false -
--unsolid— Convert solid entries to regular entriesDefault value:
false -
--keep-solid— Preserve solid entries without conversionDefault value:
false -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Change mode
Usage: pna experimental chmod [OPTIONS] --file <ARCHIVE> <MODE> [FILES]...
<MODE>— mode<FILES>
-
-f,--file <ARCHIVE> -
--unsolid— Convert solid entries to regular entriesDefault value:
false -
--keep-solid— Preserve solid entries without conversionDefault value:
false -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Manipulate ACLs of entries
Usage: pna experimental acl [OPTIONS] pna experimental acl <COMMAND>
get— Get acl of entriesset— Set acl of entrieshelp— Print this message or the help of the given subcommand(s)
-
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Get acl of entries
Usage: pna experimental acl get [OPTIONS] --file <ARCHIVE> [FILES]...
<FILES>
-
--platform <PLATFORM>— Display specified ACL platform -
-n,--numeric— List numeric user and group IDsDefault value:
false -
-f,--file <ARCHIVE> -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Set acl of entries
Usage: pna experimental acl set [OPTIONS] --file <ARCHIVE> [FILES]...
<FILES>
-
-f,--file <ARCHIVE> -
--set <SET>— Set the ACL on the specified file. -
-m,--modify <MODIFY>— Modify the ACL on the specified file. New entries will be added, and existing entries will be modified according to the entries argument. -
-x,--remove <REMOVE>— Remove the ACL entries specified there from the access or default ACL of the specified files. -
--platform <PLATFORM>— Target ACL platformDefault value: ``
-
--restore <RESTORE>— Restore a permission backup created bypna acl get *or similar. All permissions of a complete directory subtree are restored using this mechanism. If a dash (-) is given as the file name, reads from standard input -
--unsolid— Convert solid entries to regular entriesDefault value:
false -
--keep-solid— Preserve solid entries without conversionDefault value:
false -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Print this message or the help of the given subcommand(s)
Usage: pna experimental acl help [COMMAND]
get— Get acl of entriesset— Set acl of entrieshelp— Print this message or the help of the given subcommand(s)
Get acl of entries
Usage: pna experimental acl help get
Set acl of entries
Usage: pna experimental acl help set
Print this message or the help of the given subcommand(s)
Usage: pna experimental acl help help
Migrate old format to latest format
Usage: pna experimental migrate [OPTIONS] --file <ARCHIVE> --output <OUTPUT>
-
--unsolid— Convert solid entries to regular entriesDefault value:
false -
--keep-solid— Preserve solid entries without conversionDefault value:
false -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
-f,--file <ARCHIVE> -
--output <OUTPUT>— Output file path -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Chunk level operation
Usage: pna experimental chunk [OPTIONS] pna experimental chunk <COMMAND>
list— List chunkshelp— Print this message or the help of the given subcommand(s)
-
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
List chunks
Usage: pna experimental chunk list [OPTIONS] --file <ARCHIVE>
-
-l,--long— Display chunk bodyDefault value:
false -
-h,--header— Add a header row to each columnDefault value:
false -
-f,--file <ARCHIVE> -
--help— Print help -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false
Print this message or the help of the given subcommand(s)
Usage: pna experimental chunk help [COMMAND]
list— List chunkshelp— Print this message or the help of the given subcommand(s)
List chunks
Usage: pna experimental chunk help list
Print this message or the help of the given subcommand(s)
Usage: pna experimental chunk help help
Sort entries in archive (stabilized, use pna sort command instead. this command will be removed in the future)
Usage: pna experimental sort [OPTIONS] --file <ARCHIVE>
-
-f,--file <ARCHIVE>— Archive file path -
--output <OUTPUT>— Output archive file path -
--by <KEY>— Sort key in format KEY[:ORDER] (e.g., name, mtime:desc) [keys: name, ctime, mtime, atime] [orders: asc, desc]Default value:
name -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Compare archive entries with filesystem
Usage: pna experimental diff [OPTIONS] --file <ARCHIVE> [FILES]...
<FILES>
-
-f,--file <ARCHIVE> -
--password <PASSWORD>[alias:passphrase] — Password of archive. If password is not given it's asked from the tty -
--password-file <FILE>— Read password from specified file -
--full-compare— Compare directory mtime and ownership (by default, only mode is compared for directories)Default value:
false -
--quiet— Make some output more quiet (alias for --log-level off)Default value:
false -
--verbose— Make some output more verbose (alias for --log-level debug)Default value:
false -
--log-level <LEVEL>— Set the log levelDefault value:
warnPossible values:
off,error,warn,info,debug,trace -
--color <WHEN>— Control color outputDefault value:
autoPossible values:
auto,always,never -
--unstable— Enable experimental options. Required for flags marked as unstable; behavior may change or be removed.Default value:
false -
-h,--help— Print help
Print this message or the help of the given subcommand(s)
Usage: pna experimental help [COMMAND]
stdio— bsdtar-like CLI semantics for PNA archives (stabilized, usepna compat bsdtarinstead)delete— Delete entry from archive (stabilized, usepna deletecommand instead. this command will be removed in the future)update— Update entries in archivechown— Change ownerchmod— Change modeacl— Manipulate ACLs of entriesmigrate— Migrate old format to latest formatchunk— Chunk level operationsort— Sort entries in archive (stabilized, usepna sortcommand instead. this command will be removed in the future)diff— Compare archive entries with filesystemhelp— Print this message or the help of the given subcommand(s)
bsdtar-like CLI semantics for PNA archives (stabilized, use pna compat bsdtar instead)
Usage: pna experimental help stdio
Delete entry from archive (stabilized, use pna delete command instead. this command will be removed in the future)
Usage: pna experimental help delete
Update entries in archive
Usage: pna experimental help update
Change owner
Usage: pna experimental help chown
Change mode
Usage: pna experimental help chmod
Manipulate ACLs of entries
Usage: pna experimental help acl [COMMAND]
get— Get acl of entriesset— Set acl of entries
Get acl of entries
Usage: pna experimental help acl get
Set acl of entries
Usage: pna experimental help acl set
Migrate old format to latest format
Usage: pna experimental help migrate
Chunk level operation
Usage: pna experimental help chunk [COMMAND]
list— List chunks
List chunks
Usage: pna experimental help chunk list
Sort entries in archive (stabilized, use pna sort command instead. this command will be removed in the future)
Usage: pna experimental help sort
Compare archive entries with filesystem
Usage: pna experimental help diff
Print this message or the help of the given subcommand(s)
Usage: pna experimental help help
Print this message or the help of the given subcommand(s)
Usage: pna help [COMMAND]
create— Create archiveappend— Append files to archiveextract— Extract files from archivelist— List files in archivedelete— Delete entry from archivesplit— Split archiveconcat— Concat archivesstrip— Strip entries metadatasort— Sort entries in archivexattr— Manipulate extended attributescomplete— Generate shell auto completebug-report— Generate bug report templatecompat— Compatibility interface for other archive toolsexperimental— Unstable experimental commands; behavior and interface may change or be removedhelp— Print this message or the help of the given subcommand(s)
Create archive
Usage: pna help create
Append files to archive
Usage: pna help append
Extract files from archive
Usage: pna help extract
List files in archive
Usage: pna help list
Delete entry from archive
Usage: pna help delete
Split archive
Usage: pna help split
Concat archives
Usage: pna help concat
Strip entries metadata
Usage: pna help strip
Sort entries in archive
Usage: pna help sort
Manipulate extended attributes
Usage: pna help xattr [COMMAND]
get— Get extended attributes of entriesset— Set extended attributes of entries
Get extended attributes of entries
Usage: pna help xattr get
Set extended attributes of entries
Usage: pna help xattr set
Generate shell auto complete
Usage: pna help complete
Generate bug report template
Usage: pna help bug-report
Compatibility interface for other archive tools
Usage: pna help compat [COMMAND]
bsdtar— bsdtar-like CLI semantics for PNA archives
bsdtar-like CLI semantics for PNA archives
Usage: pna help compat bsdtar
Unstable experimental commands; behavior and interface may change or be removed
Usage: pna help experimental [COMMAND]
stdio— bsdtar-like CLI semantics for PNA archives (stabilized, usepna compat bsdtarinstead)delete— Delete entry from archive (stabilized, usepna deletecommand instead. this command will be removed in the future)update— Update entries in archivechown— Change ownerchmod— Change modeacl— Manipulate ACLs of entriesmigrate— Migrate old format to latest formatchunk— Chunk level operationsort— Sort entries in archive (stabilized, usepna sortcommand instead. this command will be removed in the future)diff— Compare archive entries with filesystem
bsdtar-like CLI semantics for PNA archives (stabilized, use pna compat bsdtar instead)
Usage: pna help experimental stdio
Delete entry from archive (stabilized, use pna delete command instead. this command will be removed in the future)
Usage: pna help experimental delete
Update entries in archive
Usage: pna help experimental update
Change owner
Usage: pna help experimental chown
Change mode
Usage: pna help experimental chmod
Manipulate ACLs of entries
Usage: pna help experimental acl [COMMAND]
get— Get acl of entriesset— Set acl of entries
Get acl of entries
Usage: pna help experimental acl get
Set acl of entries
Usage: pna help experimental acl set
Migrate old format to latest format
Usage: pna help experimental migrate
Chunk level operation
Usage: pna help experimental chunk [COMMAND]
list— List chunks
List chunks
Usage: pna help experimental chunk list
Sort entries in archive (stabilized, use pna sort command instead. this command will be removed in the future)
Usage: pna help experimental sort
Compare archive entries with filesystem
Usage: pna help experimental diff
Print this message or the help of the given subcommand(s)
Usage: pna help help
This document was generated automatically by
clap-markdown.