Lines Matching +full:standard +full:- +full:mode

2 .\" SPDX-License-Identifier: BSD-2-Clause
4 .\" Copyright (c) 2003-2007 Tim Kientzle
16 .Op Ar bundled-flags Ao args Ac
24 .Fl f Ar archive-file
35 rar, rpm, 7-zip, and ISO 9660 cdrom images and can create tar, pax,
36 cpio, ar, zip, 7-zip, and shar archives.
49 is a mode indicator from the following list:
51 .Bl -tag -compact -width indent
95 mode, each specified file or directory is added to the
99 In extract or list mode, the entire command line
103 Patterns are shell-style globbing patterns as
109 .Bl -tag -width indent
116 .Dl Nm Fl c Fl f Pa - Pa newfile Cm @ Ns Pa original.tar
118 writes a new archive to standard output containing a file
124 .Dl Nm Fl c Fl f Pa - Pa newfile Pa original.tar
129 .Dl Nm Fl czf Pa - Fl Fl format Cm pax Cm @ Ns Pa -
131 reads an archive from standard input (whose format will be determined
132 automatically) and converts it into a gzip-compressed
133 pax-format archive on stdout.
137 .It Fl a , Fl Fl auto-compress
138 (c mode only)
159 .Dq -j
171 .Fl Fl no-acls
174 is run in x mode as root.
177 .Fl Fl mac-metadata
179 .It Fl B , Fl Fl read-full-blocks
183 .It Fl b Ar blocksize , Fl Fl block-size Ar blocksize
184 Specify the block size, in 512-byte records, for tape drive I/O.
189 In c and r mode, this changes the directory before adding
191 In x mode, change directories after opening the archive
194 (x mode only)
199 .It Fl Fl clamp-mtime
204 .It Fl Fl clear-nochange-fflags
205 (x mode only)
206 Before removing file system objects to replace them, clear platform-specific
213 .It Fl Fl exclude-vcs
228 Archive or extract platform-specific file attributes or file flags.
230 .Fl Fl no-fflags
233 is run in x mode as root.
235 (c, r, u mode only)
244 .Xr libarchive-formats 5
245 for more information about currently-supported formats.
251 .Pa -
252 for standard input or standard output.
304 (x mode only)
307 .It Fl Fl ignore-zeros
332 (c mode only)
340 (c mode only)
348 .It Fl k , Fl Fl keep-old-files
349 (x mode only)
353 .It Fl Fl keep-newer-files
354 (x mode only)
362 .It Fl l , Fl Fl check-links
366 (c mode only)
375 (c mode only)
376 Compress the archive with lz4-compatible compression before writing it.
382 (c mode only)
383 Compress the archive with zstd-compatible compression before writing it.
389 (c mode only) Compress the resulting archive with the original LZMA algorithm.
398 (c mode only)
405 .It Fl m , Fl Fl modification-time
406 (x mode only)
409 .It Fl Fl mac-metadata
410 (c, r, u and x mode only)
417 .Fl Fl no-mac-metadata .
420 is run in x mode as root.
427 .It Fl n , Fl Fl norecurse , Fl Fl no-recursion
433 .It Fl Fl newer-mtime Ar date
438 .It Fl Fl newer-than Pa file
442 .It Fl Fl newer-mtime-than Pa file
445 .Fl Fl newer-than ,
451 (x mode only)
466 .It Fl Fl no-acls
473 is run as non-root in x mode (on Mac OS X as any user in c, r, u and x modes).
474 .It Fl Fl no-fflags
481 is run as non-root in x mode.
482 .It Fl Fl no-mac-metadata
483 (c, r, u and x mode only)
490 .Fl Fl mac-metadata .
493 is run as non-root in x mode.
494 .It Fl Fl no-read-sparse
498 .Fl Fl read-sparse .
499 .It Fl Fl no-safe-writes
500 (x mode only)
505 .Fl Fl safe-writes .
506 .It Fl Fl no-same-owner
507 (x mode only)
510 .Fl Fl same-owner
513 is run as non-root.
514 .It Fl Fl no-same-permissions
515 (x mode only)
522 is run as non-root.
523 .It Fl Fl no-xattrs
530 is run as non-root in x mode.
531 .It Fl Fl numeric-owner
541 .It Fl O , Fl Fl to-stdout
543 In extract (-x) mode, files will be written to standard out rather than
545 In list (-t) mode, the file listing will be written to stderr rather than
548 (x mode)
558 (c, r, u mode)
565 .It Fl Fl older-mtime Ar date
570 .It Fl Fl older-than Pa file
574 .It Fl Fl older-mtime-than Pa file
577 .Fl Fl older-than ,
579 .It Fl Fl one-file-system
584 The argument is a text string containing comma-separated
590 .Bl -tag -compact -width indent
614 .Bl -tag -compact -width indent
629 .It Cm gzip:compression-level
644 .It Cm lrzip:compression-level
646 .It Cm lz4:compression-level
648 .It Cm lz4:stream-checksum
651 .Cm lz4:!stream-checksum
653 .It Cm lz4:block-checksum
655 .It Cm lz4:block-size
658 .It Cm lz4:block-dependence
661 .It Cm zstd:compression-level Ns = Ns Ar N
668 .It Cm zstd:frame-per-file
671 .It Cm zstd:min-frame-in Ns = Ns Ar N
673 .Cm zstd:frame-per-file ,
684 .It Cm zstd:min-frame-out Ns = Ns Ar N , Cm zstd:min-frame-size Ns = Ns Ar N
686 .Cm zstd:frame-per-file ,
697 .It Cm zstd:max-frame-in Ns = Ns Ar N , Cm zstd:max-frame-size Ns = Ns Ar N
709 .It Cm zstd:max-frame-out Ns = Ns Ar N
721 .It Cm lzop:compression-level
723 .It Cm xz:compression-level
735 .Cm link , Cm md5 , Cm mode , Cm nlink , Cm rmd160 , Cm sha1 , Cm sha256 ,
738 .Dq device, flags, gid, gname, link, mode, nlink, size, time, type, uid, uname .
744 .It Cm mtree:use-set
749 Produce human-readable output by indenting options and splitting lines
763 aes128 (WinZip AES-128 encryption) and aes256 (WinZip AES-256 encryption).
770 .Fl i , Fl Fl ignore-zeros
776 .It Fl P , Fl Fl absolute-paths
787 .It Fl p , Fl Fl insecure , Fl Fl preserve-permissions
788 (x mode only)
794 .Fl Fl no-same-permissions
799 .Fl Fl no-acls ,
800 .Fl Fl no-fflags ,
801 .Fl Fl no-mac-metadata
803 .Fl Fl no-xattrs .
812 (c, r, u mode only)
815 .It Fl q , Fl Fl fast-read
816 (x and t mode only)
824 .It Fl Fl read-sparse
828 .Fl Fl no-read-sparse
831 (x mode only)
861 standard error.
875 .It Fl Fl safe-writes
876 (x mode only)
886 .Fl Fl safe-writes
895 .It Fl Fl same-owner
896 (x mode only)
899 .Fl Fl no-same-owner
903 .It Fl Fl strip-components Ar count
908 .It Fl T Ar filename , Fl Fl files-from Ar filename
909 In x or t mode,
913 In c mode,
918 .Dq -C
927 .Dq -C .
936 .It Fl U , Fl Fl unlink , Fl Fl unlink-first
937 (x mode only)
968 .It Fl Fl use-compress-program Ar program
969 Pipe the input (in x or t mode) or the output (in c mode) through
987 In list mode,
993 option will also provide ls-like details in create and extract mode.
1002 .It Fl X Ar filename , Fl Fl exclude-from Ar filename
1011 .Fl Fl no-xattrs
1014 is run in x mode as root.
1016 (c mode only)
1025 (c mode only)
1034 (c mode only)
1046 .Bl -tag -width indent
1077 .Ex -std
1107 .Dl Nm Fl cf Pa - Fl C Pa srcdir \&. | Nm Fl xpf Pa - Fl C Pa destdir
1111 .Dl cd srcdir \&; Nm Fl cf Pa - \&. | ( cd destdir \&; Nm Fl xpf Pa - )
1113 In create mode, the list of files and directories to be archived
1115 .Cm -C Ns Pa foo/baz
1117 .Cm @ Ns Pa archive-file .
1120 .Dl Nm Fl c Fl f Pa new.tar Pa foo1 Cm @ Ns Pa old.tgz Cm -C Ns Pa /tmp Pa foo2
1141 .Bd -literal -offset indent
1144 usr/bin uid=0 gid=0 mode=0755 type=dir
1145 usr/bin/ls uid=0 gid=0 mode=0755 type=file content=myls
1146 $ tar -cvf output.tar @input.mtree
1152 .Fl Fl newer-mtime
1155 .Dq 2005-03-12 19:14 ,
1174 .Dl Nm Fl czf Pa file.tar Fl Fl options='compression-level=9' .
1185 The bundled-arguments format is supported for compatibility
1187 It consists of an initial word (with no leading - character) in which
1218 The mode options c, r, t, u, and x and the options
1223 should use the bundled-argument format above, should limit
1243 In particular, carefully-crafted archives can request that
1255 .Bl -bullet -width indent
1307 option to remove any pre-existing files.
1308 You should generally not extract archives while running with super-user
1328 .Xr libarchive-formats 5 ,
1331 There is no current POSIX standard for the tar command; it appeared
1333 .St -p1003.1-96
1335 .St -p1003.1-2001 .
1341 .St -p1003.1-2001
1351 public-domain implementation (circa November, 1987)
1353 GNU tar was included as the standard system tar
1359 This is a complete re-implementation based on the
1367 .St -p1003.1-96
1374 .Fl Fl one-file-system
1381 All archive output is written in correctly-sized blocks, even
1388 written to standard output or to a character or block device such as
1404 .Dl Nm Fl czf Pa - file
1408 .Dl Nm Fl cf Pa - file | Nm gzip
1410 The default should be to read and write archives to the standard I/O paths,
1421 mode with the
1422 .Pa @archive-file
1428 .Pa -foo
1432 .Pa ./-foo ,
1435 In create mode, a leading
1447 There is not yet any support for multi-volume archives.
1450 .Cm @ Ns Pa -