X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=NEWS;h=481ea271ce623143cf04520f76af8ddcb25d1d00;hb=87063014799dc78af45710ba5f40cd5dfe341a53;hp=ced28e07825aea0b6c435248efde39b87bb413ec;hpb=f5048215892c1bf6cf602c41146c556f60a63a51;p=chaz%2Ftar diff --git a/NEWS b/NEWS index ced28e0..481ea27 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -GNU tar NEWS - User visible changes. 2014-01-27 +GNU tar NEWS - User visible changes. 2014-02-10 Please send GNU tar bug reports to @@ -25,6 +25,16 @@ sign and the specifier letter. current screen width, if {N} is not given. %c - a shortcut for "%{%Y-%m-%d %H:%M:%S}t: %ds, %{read,wrote}T%*\r" +* New option --one-top-level + +The option --one-top-level tells tar to extract all files into a +subdirectory named by the base name of the archive (minus standard +compression suffixes recognizable by --auto-compress). When used with +an argument, as in --one-top-level=DIR, the files are extracted into the +supplied DIRectory. This ensures that no archive members are +extracted outside of the specified directory, even if the archive is +crafted so as to put them elsewhere. + * Manpages This release includes official tar(1) and rmt(8) manpages. @@ -42,6 +52,14 @@ version 1.27.1 - Sergey Poznyakoff, 2013-11-17 * Fix extracting sparse members from star archives. +* The --one-top-level option. + +This new command line option tells tar that the working directory +(or the one passed to -C) should not be populated with more than one +name directly under it. Instead, a newly created subdirectory is +used whose name is equal to the archive name without the extension. +For example, foo.tar.gz would be extracted to foo. + version 1.27 - Sergey Poznyakoff, 2013-10-05 @@ -1466,7 +1484,7 @@ Versions 1.07 back to 1.00 by Jay Fenlason. -Copyright 1994-2001, 2003-2010, 2013 Free Software Foundation, Inc. +Copyright 1994-2001, 2003-2010, 2013-2014 Free Software Foundation, Inc. This file is part of GNU tar.