]> Dogcows Code - chaz/tar/blobdiff - NEWS
Update docs.
[chaz/tar] / NEWS
diff --git a/NEWS b/NEWS
index ced28e07825aea0b6c435248efde39b87bb413ec..481ea271ce623143cf04520f76af8ddcb25d1d00 100644 (file)
--- 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 <bug-tar@gnu.org>
 
 \f
@@ -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.
+
 \f
 version 1.27 - Sergey Poznyakoff, 2013-10-05
 
@@ -1466,7 +1484,7 @@ Versions 1.07 back to 1.00 by Jay Fenlason.
 
 \f
 
-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.
 
This page took 0.027136 seconds and 4 git commands to generate.