aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tar/bsdtar.1
Commit message (Collapse)AuthorAgeFilesLines
* Use contrib sources for building libarchive, tar and cpio.Martin Matuska2011-12-221-1029/+0
| | | | | | | | | Make "make test" fully operational. MFC after: 2 weeks Notes: svn path=/head/; revision=228797
* Update bsdtar to 2.8.4Martin Matuska2011-07-171-2/+2
| | | | | | | | | | Use common code from lib/libarchive/libarchive_fe Approved by: kientzle MFC after: 2 weeks Notes: svn path=/head/; revision=224153
* Revert most of r210764, now that mdocml does the rightUlrich Spörlein2010-12-281-2/+2
| | | | | | | | | thing with empty quotation macros. Requested by: Alex Kozlov Notes: svn path=/head/; revision=216756
* mdoc: make sure to pass at least one argument to quotation macrosUlrich Spörlein2010-08-021-2/+2
| | | | Notes: svn path=/head/; revision=210764
* Fix typos.Joel Dahl2010-08-011-1/+1
| | | | Notes: svn path=/head/; revision=210720
* mdoc: move remaining sections into consistent orderUlrich Spörlein2010-05-131-2/+2
| | | | | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru Notes: svn path=/head/; revision=208028
* Various manpage updates, including many long-option synonyms that were ↵Tim Kientzle2010-05-081-101/+209
| | | | | | | previously undocumented. Notes: svn path=/head/; revision=207786
* Correct the markup for the -s option,Tim Kientzle2010-04-111-7/+30
| | | | | | | document the iso9660:rockridge and mtree:indent options Notes: svn path=/head/; revision=206463
* Fix several typos in macros or macro misusage.Ulrich Spörlein2010-03-121-1/+1
| | | | | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor) Notes: svn path=/head/; revision=205076
* Merge remaining changes from libarchive.googlecode.com:Tim Kientzle2009-04-171-3/+82
| | | | | | | | | | | * Add xz and lzma compression options * Rename --format-options to simply --options * Add --same-owner for GNU tar compat * Add -lmd and -lcrypto to fix link * Documentation Notes: svn path=/head/; revision=191190
* bsdtar always supports long options now, so we can removeTim Kientzle2008-12-061-2/+2
| | | | | | | a documentation disclaimer. Notes: svn path=/head/; revision=185687
* New command-line parser for bsdtar.Tim Kientzle2008-11-081-25/+15
| | | | | | | | | | | | | This replaces the getopt()/getopt_long() wrapper, the old-style argument rewriter and the associated configuration glue with a more straightforward custom command parser. In particular, this ensures that bsdtar will have consistent option parsing on every platform, regardless of whether the platform supports getopt_long(). MFC after: 30 days Notes: svn path=/head/; revision=184761
* - Fix mtree example so it works.Simon L. B. Nielsen2008-07-261-0/+7
| | | | | | | | | | - Document --version. Reviewed by: kientzle MFC after: 1 week Notes: svn path=/head/; revision=180827
* MFp4: bsdtar 2.5.4bTim Kientzle2008-05-261-2/+38
| | | | | | | | | | | | | | | | In addition to a number of bug fixes and minor changes: * --numeric-owner (ignore user/group names on create and extract) * -S (sparsify files on extraction) * -s (regex filename substitutions) * Use new libarchive 'linkify' to get correct hardlink handling for both old and new cpio formats * Rework 'copy' test to be insensitive to readdir() filename ordering Most of the credit for this work goes to Joerg Sonnenberger, who has been duplicating features from NetBSD's 'pax' program. Notes: svn path=/head/; revision=179322
* Add --keep-newer-files option (as in GNU tar: When in -x mode, ignoreColin Percival2008-05-171-0/+4
| | | | | | | | | | | | | | files if the existing file is newer than the archive entry). Currently if any files are ignored, bsdtar will exit with a non-zero exit status; this is likely to change in the future, but requires some API changes in libarchive. Discussed with: kientzle Obtained from: tarsnap Notes: svn path=/head/; revision=179072
* Documentation updates:Tim Kientzle2008-05-021-2/+8
| | | | | | | | | * --format can be used with -r or -u * -o is a synonym for --format=ustar when used with -c, -r, or -u Also, fix the erroneous sanity check that suppressed --format with -r or -u. Notes: svn path=/head/; revision=178717
* Document --chroot.Tim Kientzle2008-03-151-0/+6
| | | | Notes: svn path=/head/; revision=177210
* Support -q (from NetBSD) as a synonym for --fast-read (the old FreeBSDTim Kientzle2008-03-151-9/+9
| | | | | | | | | extension to GNU tar). Thanks to: Joerg Sonnenberger Notes: svn path=/head/; revision=177208
* Enable and document the -Z option for selecting "compress" compression,Tim Kientzle2008-03-151-0/+10
| | | | | | | now that libarchive supports it. Notes: svn path=/head/; revision=177204
* Make -l always have the SUSv2 meaning of "check links."Tim Kientzle2008-01-221-17/+8
| | | | | | | | | | | GNU tar changed -l to match SUSv2 a couple of years ago, so bsdtar no longer needs to pander to this particular GNUism. Thanks to: Debian maintainers MFC after: 7 days Notes: svn path=/head/; revision=175558
* Fill in the approximate date when tar(1) first appeared.Tim Kientzle2008-01-021-1/+1
| | | | Notes: svn path=/head/; revision=175050
* bsdtar 2.2.3:Tim Kientzle2007-05-291-0/+4
| | | | | | | | | | | | * Implement --use-compress-program using new libarchive feature. * Minor portability improvement by adjusting casts used to print out uids, gids, and device numbers. Thanks to: Joerg Sonnenberger for the --use-compress-program implementation. MFC after: 15 days Notes: svn path=/head/; revision=170084
* Mention the formats supported by bsdtar; include anTim Kientzle2007-05-201-0/+6
| | | | | | | example that shows how to work with an ISO 9660 image. Notes: svn path=/head/; revision=169801
* Correct the copyright messages: Make this a standard vanillaTim Kientzle2007-01-091-1/+1
| | | | | | | 2-clause BSD license, update the year to 2007. Notes: svn path=/head/; revision=165913
* In the examples, use "tar.gz" as the extension forTim Kientzle2006-05-011-3/+3
| | | | | | | | | gzip-compressed tar archives. Thanks to: Mike Hunter Notes: svn path=/head/; revision=158204
* Use the .Fx macro.Simon L. B. Nielsen2006-01-171-2/+7
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=154489
* Remove the -B option from the directory-copying examples. The -BTim Kientzle2005-12-091-2/+2
| | | | | | | | | | | option is undocumented because it does nothing. It does nothing because bsdtar never needs it. It is accepted because gnutar does sometimes need it and many scripts use it. Reported by: Pawel Jakub Dawidek Notes: svn path=/head/; revision=153258
* Fixed troff warnings.Ruslan Ermilov2005-06-271-1/+1
| | | | | | | Approved by: re (blanket manpages) Notes: svn path=/head/; revision=147624
* Point users to tcsh(1) for information about shell globbing patterns,Murray Stokely2005-04-191-1/+2
| | | | | | | | | rather than 'XXXX'. MFC after: 1 week Notes: svn path=/head/; revision=145284
* Add directory hierarchy copying example.David E. O'Brien2005-03-281-0/+7
| | | | Notes: svn path=/head/; revision=144244
* Add --newer-ctime, --newer-mtime, --newer-ctime-than, and --newer-mtime-thanTim Kientzle2005-03-131-0/+29
| | | | | | | | | | switches to support selecting files by time of modification. Special thanks to: Steven M. Bellovin, Rich $alz, and Jim Berets, authors of the public-domain getdate.y date-parsing code. Notes: svn path=/head/; revision=143528
* Add --strip-components option, per bin/77666.Tim Kientzle2005-03-131-0/+6
| | | | | | | Thanks to: Sangwoo Shim Notes: svn path=/head/; revision=143486
* Document the --null, --one-file-system, and -I options.Tim Kientzle2005-02-181-5/+34
| | | | | | | Clarify that -T can be used in 'x' mode as well as 'c' mode. Notes: svn path=/head/; revision=142063
* Sort sections.Ruslan Ermilov2005-01-181-52/+52
| | | | Notes: svn path=/head/; revision=140420
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Document the -O option's new behavior in the presence of -t.Tim Kientzle2004-08-271-2/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=134370
* gtar uses -F for another purpose, so bsdtar no longer treats it as aTim Kientzle2004-08-081-16/+13
| | | | | | | | | synonym for --format. Update the man page to reflect this. While I'm here, change the man page to document "tar" rather than "bsdtar," update some comments about -l compatibility and fix a few grammar nits. Notes: svn path=/head/; revision=133331
* GNU and POSIX disagree about -o and -l.Tim Kientzle2004-08-031-2/+18
| | | | | | | | | | | | | | | For -l, upset everyone by breaking it. Specifically, -l now produces a lengthy error message that suggests --check-links (POSIX -l) or --one-file-system (GNU -l) instead. However, if POSIXLY_CORRECT is set, use the POSIX interpretation. For -o, please everyone by making it work both ways: * -xo uses POSIX behavior * -co uses "almost GNU" behavior (as close as we can get until libarchive implements a true V7 tar format) Notes: svn path=/head/; revision=133053
* Correct the explanation of the -X option.Tim Kientzle2004-08-011-3/+5
| | | | | | | Thanks to: Pav Lucistnik Notes: svn path=/head/; revision=132974
* Of course, I meant POSIX.1-1996, not 1997.Tim Kientzle2004-07-251-1/+1
| | | | | | | Thanks to: Andrey Chernov Notes: svn path=/head/; revision=132620
* My bad: /dev/sa0, no 'r'Tim Kientzle2004-07-211-1/+1
| | | | | | | Thanks (and many apologies) to: Cristoph Mallon Notes: svn path=/head/; revision=132486
* Fix some misspellings, document the TAPE environmentTim Kientzle2004-07-191-2/+16
| | | | | | | variable and the default tape device. Notes: svn path=/head/; revision=132377
* Fixed cross-references in SEE ALSO.Ruslan Ermilov2004-07-041-1/+1
| | | | | | | Emininated double space and hard sentence breaks. Notes: svn path=/head/; revision=131595
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131491
* Document the -W convention for accessing long options.Tim Kientzle2004-06-261-9/+15
| | | | | | | Also correct an old error: there was no tar command in Sixth Edition. Notes: svn path=/head/; revision=131157
* Rename C=dir to -C dir, which is what people expect.Tim Kientzle2004-06-261-32/+7
| | | | | | | | | | This requires some non-trivial surgery to the options parsing. While here, let people who only have getopt() access long options through the -W longopt=value convention. Notes: svn path=/head/; revision=131156
* Oops: gtar's --dereference should be a synonym for bsdtar's -L, not -H.Tim Kientzle2004-06-111-2/+2
| | | | | | | | Pointed out by: devel/nspr port Thanks to: Kris Kennaway Notes: svn path=/head/; revision=130326
* The --include='pattern' option is the natural counterpart toTim Kientzle2004-06-071-0/+18
| | | | | | | | | | | | --exclude='pattern'. I should have added this a long time ago, since it's so useful for testing. In particular, it allows me to select a few entries from a troublesome archive so that I can easily focus my debugging efforts: bsdtar -czf new.tgz --include='*foo*' @old.tgz Notes: svn path=/head/; revision=130171
* Correction: -h should be a synonym for -L, not -H.Tim Kientzle2004-05-311-1/+1
| | | | | | | (as specified by Linux Standards Base, GNU tar, and 4.4BSD documentation) Notes: svn path=/head/; revision=129903
* Update manpage to track new security features.Tim Kientzle2004-05-171-28/+125
| | | | Notes: svn path=/head/; revision=129313