]> Dogcows Code - chaz/tar/blob - NEWS
Document changes to the --transform option.
[chaz/tar] / NEWS
1 GNU tar NEWS - User visible changes. 2008-02-04
2 Please send GNU tar bug reports to <bug-tar@gnu.org>
3
4 \f
5 version 1.19.1 (CVS)
6
7 * New option --auto-compress (-a)
8
9 With --create, selects compression algorithm basing on the suffix
10 of the archive file name.
11
12 * New option --lzma
13
14 Selects LZMA compression algorithm
15
16 * New option --hard-dereference
17
18 During archive creation, dereferences hard links and stores the files
19 they refer to, instead of creating usual hard link members (type '1').
20
21 * New option --checkpoint-action
22
23 This action allows to specify an action to be executed upon hitting a
24 checkpoint. Recognized actions are: dot, echo (the default),
25 echo=string, and sleep=value. Any number of `--checkpoint-action'
26 options can be specified, the actions will be executed in order of
27 their appearance in the command line.
28
29 * The --transform option.
30
31 Any number of `--transform' options can be given in the command line.
32 The specified transformations will be applied in turn.
33
34 The argument to `--transform' option can be a list of replace
35 expressions, separated by a semicolon (as in `sed').
36
37 * Info (end-of-volume) scripts
38
39 The value of the blocking factor is made available to info and
40 checkpoint scripts via environment variable TAR_BLOCKING_FACTOR.
41
42 * Bugfixes.
43 ** Fix bug introduced in version 1.19: tar refused to update non-existing
44 archives.
45
46 \f
47 version 1.19 - Sergey Poznyakoff, 2007-10-10
48
49 * New option --exclude-vcs
50
51 Excludes directories and files, created by several widely used version
52 control systems, e.g. "CVS/", ".svn/", etc.
53
54 * --exclude-tag and --exclude-cache options
55
56 The following options now work with incremental archives as well:
57
58 --exclude-caches
59 --exclude-caches-all
60 --exclude-tag
61 --exclude-tag-all
62 --exclude-tag-under
63
64 * Fix handling of renamed files in listed incremental archives.
65
66 Previous versions always stored absolute file names in rename
67 records, even if -P was not used. This is fixed: rename records
68 contain file names processed in accordance with the command line
69 settings.
70
71 * Fix --version output.
72
73 * Recognition of broken archives.
74
75 When supplied an archive smaller than 512 bytes in reading mode (-x,
76 -t), the previous version of tar silently ignored it, exiting with
77 code 0. It is fixed. Tar now issues the following diagnostic message:
78 'This does not look like a tar archive', and exits with code 2.
79
80 * Fix double-dot recognition in archive member names in case of duplicate '/.'.
81
82 * Fix file padding in case of truncation of the input file to zero size.
83
84 \f
85 version 1.18 - Sergey Poznyakoff, 2007-06-29
86
87 * Licensed under the GPLv3
88
89 * Fixed several bugs in the testsuite
90
91 \f
92 version 1.17 - Sergey Poznyakoff, 2007-06-08
93
94 * Fix archivation of sparse files in posix mode. Previous versions padded
95 sparse members with spurious zero blocks.
96
97 * Fix operation of --verify --listed-incremental. Version 1.16.1 produced
98 a full dump when both options were given.
99
100 * Fix --occurrence. In previous versions it continued scanning the archive
101 even though all requested members has already been extracted.
102
103 * Scope of --transform and --strip-components options.
104
105 In addition to affecting regular archive members, the --transform
106 option affects hard and soft link targets and the --strip-components
107 option affects hard link targets as well.
108
109 * End-of-volume script can send the new volume name to tar by writing
110 it to the file descriptor stored in the environment variable `TAR_FD'.
111
112 \f
113 version 1.16.1 - Sergey Poznyakoff, 2006-12-09
114
115 * New option --exclude-tag allows to specify "exclusion tag files", i.e.
116 files whose presence in a directory means that the directory should not
117 be archived.
118
119 * The --exclude-cache option excludes directories that contain the
120 CACHEDIR.TAG file from being archived. Previous versions excluded
121 directory contents only, while the directories themselves were
122 still added to the archive.
123
124 * Support for reading ustar type 'N' header logical records has been removed.
125 This GNU extension was generated only by very old versions of GNU 'tar'.
126 Unfortunately its implementation had security holes; see
127 <http://archives.neohapsis.com/archives/fulldisclosure/2006-11/0344.html>.
128 We don't expect that any tar archives in practical use have type 'N'
129 records, but if you have one and you trust its contents, you can
130 decode it with GNU tar 1.16 or earlier.
131
132 * Race conditions have been fixed that in some cases briefly allowed
133 files extracted by 'tar -x --same-owner' (or plain 'tar -x', when
134 running as root) to be accessed by users that they shouldn't have been.
135
136 \f
137 version 1.16 - Sergey Poznyakoff, 2006-10-21
138
139 * After creating an archive, tar exits with code 1 if some files were
140 changed while being read. Previous versions exited with code 2 (fatal
141 error), and only if some files were truncated while being archived.
142
143 * New option --mtime allows to set modification times for all archive
144 members during creation.
145
146 * Bug fixes
147 ** Avoid running off file descriptors when using multiple -C options.
148 ** tar --index-file=FILE --file=- sent the archive to FILE, and
149 the listing to stderr.
150
151 \f
152 version 1.15.91 - Sergey Poznyakoff, 2006-06-16
153
154 * Incompatible changes
155
156 ** Globbing
157
158 Previous versions of GNU tar assumed shell-style globbing when
159 extracting from or listing an archive. For example:
160
161 tar xf foo.tar '*.c'
162
163 would extract all files whose names end in '.c'. This behavior
164 was not documented and was incompatible with traditional tar
165 implementations. Therefore, starting from this version, GNU tar
166 no longer uses globbing by default. For example, the above invocation
167 is now interpreted as a request to extract from the archive the file
168 named '*.c'.
169
170 To treat member names as globbing patterns, use --wildcards option.
171 If you wish tar to mimic the behavior of versions up to 1.15.90,
172 add --wildcards to the value of the environment variable TAR_OPTIONS.
173
174 The exact way in which tar interprets member names is controlled by the
175 following command line options:
176
177 --wildcards use wildcards
178 --anchored patterns match file name start
179 --ignore-case ignore case
180 --wildcards-match-slash wildcards match `/'
181
182 Each of these options has a '--no-' counterpart that disables its
183 effect (e.g. --no-wildcards).
184
185 These options affect both the interpretation of member names from
186 command line and that of the exclusion patterns (given with --exclude
187 and --exclude-from options). The defaults are:
188
189 1. For member names: --no-wildcards --anchored
190 2. For exclusion patterns: --wildcards --no-anchored --wildcards-match-slash
191
192 The options can appear multiple times in the command line, thereby
193 changing the way command line arguments are interpreted. For example,
194 to use case-insensitive matching in exclude patterns and to revert to
195 case-sensitive matching for the rest of command line, one could write:
196
197 tar xf foo.tar --ignore-case --exclude-from=FILE --no-ignore-case file.name
198
199 ** Short option -l is now an alias of --check-links option, which complies
200 with UNIX98. This ends the transition period started with version 1.14.
201
202 * New features
203
204 ** New option --transform allows to transform file names before storing them
205 in the archive or member names before extracting. The option takes a
206 sed replace expression as its argument. For example,
207
208 tar cf foo.tar --transform 's,^,prefix/,'
209
210 will add 'prefix/' to all file names stored in foo.tar.
211
212 ** --strip-components option works when deleting and comparing. In previous
213 versions it worked only with --extract.
214
215 ** New option --show-transformed-names enables display of transformed file
216 or archive. It generalizes --show-stored-names option, introduced in
217 1.15.90. In particular, when creating an archive in verbose mode, it lists
218 member names as stored in the archive, i.e., with any eventual prefixes
219 removed and file name transformations applied. The option is useful,
220 for example, while comparing `tar cv' and `tar tv' outputs.
221
222 ** New incremental snapshot file format keeps information about file names
223 as well as that about directories.
224
225 ** The --checkpoint option takes an optional argument specifying the number
226 of records between the two successive checkpoints. Optional dot
227 starting the argument intructs tar to print dots instead of textual
228 checkpoints.
229
230 ** The --totals option can be used with any tar operation (previous versions
231 understood it only with --create). If an argument to this option is
232 given, it specifies the signal upon delivery of which the statistics
233 is to be printed. Both forms of this option (with and without
234 argument) can be given to in a single invocation of tar.
235
236 * Bug fixes
237 ** Detect attempts to update compressed archives.
238
239 \f
240 version 1.15.90 - Sergey Poznyakoff, 2006-02-19
241
242 * New features
243
244 ** Any number of -T (--files-from) options may be used in the command line.
245 The file specified with -T may include any valid `tar' options,
246 including another -T option.
247 Compatibility note: older versions of tar would only recognize -C
248 as an option name within the file list file. Now any file whose name
249 starts with - is handled as an option. To insert file names starting with
250 dash, use the --add-file option.
251
252 ** List files containing null-separated file names are detected and processed
253 automatically. It is no longer necessary to give the --null option.
254
255 ** New option --no-unquote disables the unquoting of input file names.
256 This is useful for processing output from `find dir -print0'.
257 An orthogonal option --unquote is provided as well.
258
259 ** New option --test-label tests the archive volume label.
260 If an argument is specified, the label is compared against its value.
261 Tar exits with code 0 if the two strings match, and with code 2 if
262 they do not.
263
264 If no argument is given, the --verbose option is implied. In this case,
265 tar prints the label name if present and exits with code 0.
266
267 ** New option --show-stored-names. When creating an archive in verbose mode,
268 it lists member names as stored in the archive, i.e., with any eventual
269 prefixes removed. The option is useful, for example, while comparing
270 `tar cv' and `tar tv' outputs.
271
272 ** New option --to-command pipes the contents of archive members to the
273 specified command.
274
275 ** New option --atime-preserve=system, which uses the O_NOATIME feature
276 of recent Linux kernels to avoid some problems when preserving file
277 access times.
278
279 ** New option --delay-directory-restore delays restoring modification times
280 and permissions of extracted directories until the end of extraction.
281 This is necessary for restoring from archives with unusual member
282 ordering (in particular, those created with --no-recursion option).
283 This option is implied when restoring from incremental archives.
284
285 ** New option --restrict prohibits use of some potentially harmful tar
286 options. Currently it disables '!' escape in multi-volume name menu.
287
288 ** New options --quoting-style and --quote-chars control the way tar
289 quotes member names on output. The --quoting-style takes an argument
290 specifying the quoting style to use (literal, shell, shell-always,
291 c, escape, locale, clocale). The argument to --quote-chars is a string
292 specifying characters to quote, even if the selected quoting style
293 would not quote them otherwise. The option --no-quote-chars is
294 provided to disable quoting certain characters.
295
296 ** The end-of-volume script (introduced with --info-script option) can
297 get current archive name from the environment variable TAR_ARCHIVE and
298 the volume number from the variable TAR_VOLUME. It can alter the
299 archive name by writing new name to the file descriptor 3.
300
301 ** Better support for full-resolution time stamps. Tar cannot restore
302 time stamps to full nanosecond resolution, though, until the kernel
303 guys get their act together and give us a system call to set file time
304 stamps to nanosecond resolution.
305
306 ** The -v option now prints time stamps only to 1-minute resolution,
307 not full resolution, to avoid using up too many output columns.
308 Nanosecond resolution is now supported, but that would be too much.
309
310 * Bug fixes
311
312 ** Allow non-option arguments to be interspersed with options.
313 ** When extracting or listing archives in old GNU format, tar
314 used to read an extra block of data after a long name header
315 if length of the member name was divisible by block size (512).
316 Consequently, the file pointer was set off and the next member
317 was not processed correctly.
318 ** Previous version created invalid archives when files shrink
319 during reading.
320 ** Compare mode (tar d) hung when trying to compare file contents.
321 ** Previous versions in certain cases failed to restore directory
322 modification times.
323 ** When creating an archive, do not attempt to store files whose
324 meta-data cannot be stored in the header due to format limitations
325 (for ustar and v7 formats).
326 ** The --version option now also outputs information about copyright,
327 license, and credits. This reverts to the behavior of tar 1.14 and
328 earlier, and conforms to the GNU coding standards. The --license (-L)
329 option introduced in tar 1.15 has been removed, since it's no longer
330 needed.
331
332 \f
333 version 1.15.1 - Sergey Poznyakoff, 2004-12-21
334
335 This version fixes a bug introduced in 1.15 which caused
336 tar to refuse to extract files from standard input.
337
338 \f
339 version 1.15 - Sergey Poznyakoff, 2004-12-20
340
341 * Compressed archives are recognised automatically, it is no longer
342 necessary to specify -Z, -z, or -j options to read them. Thus, you can
343 now run `tar tf archive.tar.gz'.
344
345 * When restoring incremental dumps, --one-file-system option
346 prevents directory hierarchies residing on different devices
347 from being purged.
348
349 With the previous versions of tar it was dangerous to create
350 incremental dumps with --one-file-system option, since they
351 would recursively remove mount points when restoring from the
352 back up. This change fixes the bug.
353
354 * Renamed --strip-path to --strip-components for consistency with
355 the GNU convention.
356
357 * Skipping archive members is sped up if the archive media supports
358 seeks.
359
360 * Restore script starts restoring only if it is given --all (-a) option,
361 or some patterns. This is to prevent accidental restores.
362
363 * `tar --verify' prints a warning if during archive creation some of
364 the file names had their prefixes stripped off.
365
366 * New option --exclude-caches instructs tar to exclude cache directories
367 automatically on archive creation. Cache directories are those
368 containing a standardized tag file, as specified at:
369
370 http://www.brynosaurus.com/cachedir/spec.html
371
372 * New configure option --with-rmt allows to specify full path name to
373 the `rmt' utility. This supersedes DEFAULT_RMT_COMMAND variable
374 introduced in version 1.14
375
376 * New configure variable DEFAULT_RMT_DIR allows to specify the directory
377 where to install `rmt' utility. This is necessary since modifying
378 --libexecdir as was suggested for version 1.14 produced a side effect: it
379 also modified installation prefix for backup scripts (if
380 --enable-backup-scripts was given).
381
382 * Bug fixes:
383 ** Fixed flow in recognizing files to be included in incremental dumps.
384 ** Correctly recognize sparse archive members when used with -T option.
385 ** GNU multivolume headers cannot store filenames longer than 100 characters.
386 Do not allow multivolume archives to begin with such filenames.
387 ** If a member with link count > 2 was stored in the archive twice,
388 previous versions of tar were not able to extract it, since they
389 were trying to link the file to itself, which always failed and
390 lead to removing the already extracted copy. Preserve the first
391 extracted copy in such cases.
392 ** Restore script was passing improper argument to tar --listed option (which
393 didn't affect the functionality, but was logically incorrect).
394 ** Fixed verification of created archives.
395 ** Fixed unquoting of file names containing backslash escapes (previous
396 versions failed to recognize \a and \v).
397 ** When attempting to delete a non-existing member from the archive, previous
398 versions of tar used to overwrite last archive block with zeroes.
399
400 \f
401 version 1.14 - Sergey Poznyakoff, 2004-05-11
402
403 * Added support for POSIX.1-2001 and ustar archive formats.
404 * New option --format allows to select the output archive format
405 * The default output format can be selected at configuration time
406 by presetting the environment variable DEFAULT_ARCHIVE_FORMAT.
407 Allowed values are GNU, V7, OLDGNU and POSIX.
408 * New option --strip-path allows to cut off a given number of
409 path elements from the name of the file being extracted.
410
411 * New options --index-file, --no-overwrite-dir. The --overwrite-dir
412 option is now the default; use --no-overwrite-dir if you prefer
413 the previous default behavior.
414
415 * The semantics of -o option is changed. When extracting, it
416 does the same as --no-same-owner GNU tar option. This is compatible
417 with UNIX98 tar. Otherwise, its effect is the same as that of
418 --old-archive option. This latter is deprecated and will be removed
419 in future.
420
421 * New option --check-links prints a message if not all links are dumped
422 for a file being archived. This corresponds to the UNIX98 -l option.
423 The current semantics of the -l option is retained for compatibility
424 with previous releases, however such usage is strongly deprecated as
425 the option will change to its UNIX98 semantics in the future releases.
426
427 * New option --occurrence[=N] can be used in conjunction with one of
428 the subcommands --delete, --diff, --extract or --list when a list of
429 files is given either on the command line or via -T option. This
430 option instructs tar to process only the Nth occurrence of each named
431 file. N defaults to 1, so `tar -x -f archive --occurrence filename'
432 extracts the first occurrence of `filename' from `archive'
433 and terminates without scanning to the end of the archive.
434
435 * New option --pax-option allows to control the handling of POSIX
436 keywords in `pax' extended headers. It is equivalent to `pax'
437 -o option.
438
439 * --incremental and --listed-incremental options work correctly on
440 individual files, as well as on directories.
441
442 * New scripts: backup (replaces old level-0 and level-1) and restore.
443 The scripts are compiled and installed if --enable-backup-scripts
444 option is given to configure.
445
446 * By default tar searches "rmt" utility in "$prefix/libexec/rmt",
447 which is consistent with the location where the version of "rmt"
448 included in the package is installed. Previous versions of tar
449 used "/etc/rmt". To install "rmt" to its traditional location,
450 run configure with option --libexecdir=/etc. Otherwise, if you
451 already have rmt installed and wish to use it, instead of the
452 shipped in version, set the variable DEFAULT_RMT_COMMAND to
453 the full path name of the utility, e.g., ./configure
454 DEFAULT_RMT_COMMAND=/etc/rmt.
455
456 Notice also that the full path name of the "rmt" utility to
457 use can be set at runtime, by giving option --rmt-command to
458 tar.
459
460 * Removed obsolete command line options:
461 ** --absolute-paths superseded by --absolute-names
462 ** --block-compress is not needed any longer
463 ** --block-size superseded by --blocking-factor
464 ** --modification-time superseded by --touch
465 ** --read-full-blocks superseded by --read-full-records
466 ** --record-number superseded by --block-number
467 ** --version-control superseded by --backup
468
469 * New message translations fi (Finnish), gl (Galician), hr (Croatian),
470 hu (Hungarian), ms (Malaysian), nb (Norwegian), ro (Romanian), sk
471 (Slovak), zh_CN (Chinese simplified), zh_TW (Chinese traditional).
472 The code 'no' for Norwegian (Bokmål) has been withdrawn; use 'nb' instead.
473
474 * Bug fixes.
475
476 \f
477 version 1.13.25 - Paul Eggert, 2001-09-26
478
479 * Bug fixes.
480
481 \f
482 version 1.13.24 - Paul Eggert, 2001-09-22
483
484 * New option --overwrite-dir.
485 * Fixes for buffer overrun, porting, and copyright notice problems.
486 * The message translations for Korean are available again.
487
488 \f
489 version 1.13.23 - Paul Eggert, 2001-09-13
490
491 * Bug, porting, and copyright notice fixes.
492
493 \f
494 version 1.13.22 - Paul Eggert, 2001-08-29
495
496 * Bug fixes.
497
498 \f
499 version 1.13.21 - Paul Eggert, 2001-08-28
500
501 * Porting and copyright notice fixes.
502
503 \f
504 version 1.13.20 - Paul Eggert, 2001-08-27
505
506 * Some bugs were fixed:
507 - security problems
508 - hard links to symbolic links
509
510 * New option --recursion (the default) that is the inverse of --no-recursion.
511
512 * New options --anchored, --ignore-case, --wildcards,
513 --wildcards-match-slash, and their negations (e.g., --no-anchored).
514 Along with --recursion and --no-recursion, these options control how
515 exclude patterns are interpreted.
516
517 * The default interpretation of exclude patterns is now --no-anchored
518 --no-ignore-case --recursion --wildcards --wildcards-match-slash.
519 This is a quiet change to the semantics of --exclude. The previous
520 semantics were a failed attempt at backward compatibility but it
521 became clear that the semantics were puzzling and did not satisfy
522 everybody. Rather than continue to try to revive that dead horse we
523 thought it better to substitute cleaner semantics, with options so
524 that you can change the behavior more to your liking.
525
526 * New message translations for Indonesian and Turkish.
527 The translation for Korean has been withdrawn due to encoding errors.
528 It will be reissued once those are fixed.
529
530 \f
531 version 1.13.19 - Paul Eggert, 2001-01-13
532
533 * The -I option has been withdrawn, as it was buggy and confusing.
534 Eventually it is planned to be reintroduced, with the same meaning as -T.
535
536 * With an option like -N DATE, if DATE starts with "/" or ".", it is taken
537 to be a file name; the last-modified time of that file is used as the date.
538
539 \f
540 version 1.13.18 - Paul Eggert, 2000-10-29
541
542 * Some security problems have been fixed. `tar -x' now modifies only
543 files under the working directory, unless you also specify an unsafe
544 option like --absolute-names or --overwrite.
545
546 * The short name of the --bzip option has been changed to -j,
547 and -I is now an alias for -T, for compatibility with Solaris tar.
548
549 * The manual is now distributed under the GNU Free Documentation License.
550
551 * The new environment variable TAR_OPTIONS holds default command-line options.
552
553 * The --no-recursion option now affects extraction too.
554
555 * The wording in some diagnostics has been changed slightly.
556
557 * Snapshot files now record whether each file was accessed via NFS.
558 The new file format is upward- and downward-compatible with the old.
559
560 * New language supported: da.
561
562 * Compilation by traditional (K&R) C compilers is no longer supported.
563 If you still use such a compiler, please use GCC instead.
564
565 * This version of tar works best with GNU gzip test version 1.3 or later.
566 Please see <ftp://alpha.gnu.org/gnu/gzip/>.
567
568 * `tar --delete -f -' now works again.
569
570 \f
571 version 1.13.17 - Paul Eggert, 2000-01-07.
572
573 * `tar --delete -f -' is no longer allowed; it was too buggy.
574 * Diagnostic messages have been made more regular and consistent.
575
576 \f
577 version 1.13.16 - Paul Eggert, 1999-12-13.
578
579 * By default, tar now refuses to overwrite an existing file when
580 extracting files from an archive; instead, it removes the file
581 before extracting it. If the existing file is a symbolic link, the
582 link is removed and not the pointed-to file. There is one
583 exception: existing nonempty directories are not removed, nor are
584 their ownerships or permissions extracted. This fixes some
585 longstanding security problems.
586
587 The new --overwrite option enables the old default behavior.
588
589 For regular files, tar implements this change by using the O_EXCL
590 option of `open' to ensure that it creates the file; if this fails, it
591 removes the file and tries again. This is similar to the behavior of
592 the --unlink-first option, but it is faster in the common case of
593 extracting a new directory.
594
595 * By default, tar now ignores file names containing a component of `..'
596 when extracting, and warns about such file names when creating an archive.
597 To enable the old behavior, use the -P or --absolute-names option.
598
599 * Tar now handles file names with multibyte encodings (e.g., UTF-8, Shift-JIS)
600 correctly. It relies on the mbrtowc function to handle multibyte characters.
601
602 * The file generated by -g or --listed-incremental now uses a format
603 that is independent of locale, so that users need not worry about
604 locale when restoring a backup. This is needed for proper support
605 of multibyte characters. Old-format files can still be read, and
606 older versions of GNU tar can read new-format files, unless member
607 names have multibyte chars.
608
609 * Many diagnostics have been changed slightly, so that file names are
610 now output unambiguously. File names in diagnostics now are either
611 `quoted like this' (in the default C locale) or are followed by
612 colon, newline, or space, depending on context. Unprintable
613 characters are escaped with a C-like backslash conventions.
614 Terminating characters (e.g., close-quote, colon, newline)
615 are also escaped as needed.
616
617 * tar now ignores socket files when creating an archive.
618 Previously tar archived sockets as fifos, which caused problems.
619
620 \f
621 version 1.13.15 - Paul Eggert, 1999-12-03.
622
623 * If a file's ctime changes when being archived, report an error.
624 Previously tar looked at mtime, which missed some errors.
625
626 \f
627 version 1.13.14 - Paul Eggert, 1999-11-07.
628
629 * New translations ja, pt_BR.
630 * New options --help and --version for rmt.
631 * Ignore Solaris door files when creating an archive.
632
633 \f
634 version 1.13.13 - Paul Eggert, 1999-10-11.
635
636 * Invalid headers in tar files now elicit errors, not just warnings.
637 * `tar --version' output conforms to the latest GNU coding standards.
638 * If you specify an invalid date, `tar' now substitutes (time_t) -1.
639 * `configure --with-dmalloc' is no longer available.
640
641 \f
642 version 1.13.12 - Paul Eggert, 1999-09-24.
643
644 * `tar' now supports hard links to symbolic links.
645
646 * New options --no-same-owner, --no-same-permissions.
647
648 * --total now also outputs a human-readable size, and a throughput value.
649
650 * `tar' now uses two's-complement base-256 when outputting header
651 values that are out of the range of the standard unsigned base-8
652 format. This affects archive members with negative or huge time
653 stamps or uids, and archive members 8 GB or larger. The new tar
654 archives cannot be read by traditional tar, or by older versions of
655 GNU tar. Use the --old-archive option to revert to the old
656 behavior, which uses unportable representations for negative values,
657 and which rejects large files.
658
659 * On 32-bit hosts, `tar' now assumes that an incoming time stamp T in
660 the range 2**31 <= T < 2**32 represents the negative time (T -
661 2**32). This behavior is nonstandard and is not portable to 64-bit
662 time_t hosts, so `tar' issues a warning.
663
664 * `tar' no longer gives up extracting immediately upon discovering
665 that an archive contains garbage at the end. It attempts to extract
666 as many files as possible from the good data before the garbage.
667
668 * A read error now causes a nonzero exit status, not just a warning.
669
670 * Some diagnostics have been reworded for consistency.
671
672 \f
673 version 1.13.11 - Paul Eggert, 1999-08-23.
674
675 * The short name of the --bzip option has been changed to -I,
676 for compatibility with paxutils.
677
678 * -T /dev/null now matches nothing; previously, it matched anything
679 if no explicit operands were given.
680
681 * The `--' option now works the same as with other GNU utilities;
682 it causes later operands to be interpreted as file names, not options,
683 even if they begin with `-'.
684
685 * For the --newer and --after-date options, the table of time zone
686 abbreviations like `EST' has been updated to match current practice.
687 Also, local time abbreviations are now recognized, even if they are
688 not in tar's hardwired table. Remember, though, that you should use
689 numeric UTC offsets like `-0500' instead of abbreviations like
690 `EST', as abbreviations are not standardized and are ambiguous.
691
692 \f
693 version 1.13.10 - Paul Eggert, 1999-08-20.
694
695 * `tar' now uses signed base-64 when outputting header values that are
696 out of the range of the standard unsigned base-8 format. [This
697 change was superseded in 1.13.12, described above.]
698
699 \f
700 version 1.13.9 - Paul Eggert, 1999-08-18.
701
702 * `tar' now writes two zero blocks at end-of-archive instead of just one.
703 POSIX.1 requires this, and some other `tar' implementations check for it.
704
705 * `tar' no longer silently accepts a block containing nonzero checksum bytes
706 as a zero block.
707
708 * `tar' now reads buggy tar files that have a null byte at the start of a
709 numeric header field.
710
711 \f
712 version 1.13.8 - Paul Eggert, 1999-08-16.
713
714 * For compatibility with traditional `tar', intermediate directories
715 created automatically by root are no longer given the uid and gid of
716 the original file or directory.
717
718 \f
719 version 1.13.7 - Paul Eggert, 1999-08-14.
720
721 * --listed-incremental and --newer are now incompatible options.
722
723 * When creating an archive, leading `./' is no longer stripped,
724 to match traditional tar's behavior (and simplify the documentation).
725
726 * --diff without --absolute-names no longer falls back on absolute names.
727
728 \f
729 version 1.13.6 - Paul Eggert, 1999-08-11.
730
731 * An --exclude pattern containing / now excludes a file only if it matches an
732 initial prefix of the file name; a pattern without / continues to
733 exclude a file if it matches any file name component.
734
735 * The protocol for talking to rmt has been extended slightly.
736 Open flags are now communicated in symbolic format as well as numeric.
737 The symbolic format (e.g., "O_WRONLY|O_CREAT|O_TRUNC") is for portability
738 when rmt is operating on a different operating system from tar.
739 The numeric format is retained, and rmt uses it if symbolic format is absent,
740 for backward compatibility with older versions of tar and rmt.
741
742 * When writing GNU tar format headers, tar now uses signed base-64
743 for values that cannot be represented in unsigned octal.
744 This supports larger files (2**66 - 1 bytes instead of 2**33 - 1 bytes),
745 larger uids, negative time stamps, etc.
746
747 * When extracting files with unknown ownership, tar now looks up the
748 uid and gid "nobody" on hosts whose headers do not define UID_NOBODY
749 and GID_NOBODY, and falls back on uid/gid -2 if there is no "nobody".
750
751 * tar -t --numeric-owner now prints numeric uids and gids, not symbolic.
752
753 * New option -y or --bzip2 for bzip2 compression, by popular request.
754
755 \f
756 version 1.13.5 - Paul Eggert, 1999-07-20.
757
758 * Do the delayed updates of file metadata even after a fatal error.
759
760 \f
761 version 1.13.4 - Paul Eggert, 1999-07-20.
762
763 * Do not chmod unless we are root or the -p option was given;
764 this matches historical practice.
765
766 \f
767 version 1.13.3 - Paul Eggert, 1999-07-16.
768
769 * A path name is excluded if any of its file name components matches an
770 excluded pattern, even if the path name was specified on the command line.
771 Also see 1.13.6 for later changes in this area.
772
773 \f
774 version 1.13.2 - Paul Eggert, 1999-07-14.
775
776 * Bug reporting address changed to <bug-tar@gnu.org>.
777
778 \f
779 version 1.13.1 - Paul Eggert, 1999-07-12.
780
781 * Bug fixes only.
782 \f
783 version 1.13 - Paul Eggert, 1999-07-08.
784
785 * Support for large files, e.g., files larger than 2 GB on many 32-bit hosts.
786 Also, support for larger uids, device ids, etc.
787 * Many bug fixes and porting fixes.
788 * This release is only for fixes. A more ambitious test release,
789 with new features, is available as part of the paxutils. Please see:
790 ftp://alpha.gnu.org/gnu/paxutils/
791 The fixes in this release are intended to be merged with paxutils
792 at some point, but they haven't been merged yet.
793 * An interim GNU tar alpha had new --bzip2 and --ending-file options,
794 but they have been removed to maintain compatibility with paxutils.
795 Please try --use=bzip2 instead of --bzip2.
796 \f
797 Version 1.12 - François Pinard, 1997-04.
798
799 Sensitive matters
800 * Use shell globbing patterns for --label, instead of regular expressions.
801 * Do not quote anymore internally over the quoting done by the shell.
802
803 Output for humans
804 * Offer internationalization capabilities of most recent GNU gettext.
805 * Messages available in many more languages, thanks to all translators!
806 * Usage of ISO 8601 dates in listings, instead of local American dates.
807 * More normalization and cleanup in error messages.
808
809 Creation
810 * For helping using tar with find, offer a --no-recursion option.
811 * Implement --numeric-owner for ignoring symbolic names at create time.
812 * New --owner, --group --mode options, still preliminary.
813 * Recognize creating an archive on /dev/null, so Amanda works faster.
814 * Object to the creation of an empty archive (like in `tar cf FILE').
815 * Barely start implementing --posix and POSIXLY_CORRECT.
816
817 Extraction
818 * Make a better job at restoring file and directory attributes.
819 * Automatically attempt deleting existing files when in the way.
820 * Option --unlink-first (-U) removes most files prior to extraction.
821 * Option --recursive-unlink removes non-empty directories when in the way.
822 * Option --numeric-owner ignores owner/group names, it uses UID/GID instead.
823 * Use global umask when creating missing intermediate directories.
824 * When symlinks are not available, extract symbolic links as hard links.
825 * Diagnose extraction of contiguous files as regular files.
826 * New --backup, --suffix and --version-control options.
827
828 Various changes
829 * Better support of huge archives with --tape-length and --totals.
830 * Rename option --read-full-blocks (-B) to --read-full-records (-B).
831 * Rename option --block-size (-b) to --blocking-factor (-b).
832 * Rename option --record-number (-R) to --block-number (-R).
833 * With --block-number (-R), report null blocks and end of file.
834 * Implement --record-size for introducing a size in bytes.
835 * Delete --block-compress option and rather decide it automatically.
836 * Rename option --modification-time to --touch.
837
838 Many bugs are squashed, while others still run free.
839 \f
840 Version 1.11.8 - François Pinard, 1995-06.
841
842 * Messages available in French, German, Portuguese and Swedish.
843 * The distribution provides a rudimentary Texinfo manual.
844 * The device defaults to stdin/stdout, unless overridden by the installer.
845 * Option --sparse (-S) should work on more systems.
846 * Option --rsh-command may select an alternative remote shell program.
847
848 Most changes are internal, and should yield better portability.
849 \f
850 Version 1.11.2 - Michael Bushnell, 1993-03.
851
852 * Changes in backup scripts: cleaned up considerably; notices error
853 conditions better over rsh; DUMP_REMIND_SCRIPT is now an option in
854 backup-specs; new file dump-remind is an example of a
855 DUMP_REMIND_SCRIPT.
856
857 * Superfluous "Reading dirname" was a bug; fixed.
858
859 * Incompatibility problems with a bug on Solaris are fixed.
860
861 * New option --gzip (aliases are --ungzip and -z); calls gzip instead
862 of compress. Also, --use-compress-program lets you specify any
863 compress program. --compress-block is renamed --block-compress and
864 now requires one of the three compression options to be specified.
865
866 * Several error messages are cleaned up.
867
868 * Directory owners are now set properly when running as root.
869
870 * Provide DUMP_REMIND_SCRIPT in backup-specs as a possible option
871 for --info-script.
872
873 * Behave better with broken rmt servers.
874
875 * Dump scripts no longer use --atime-preserve; this causes a nasty probem.
876
877 * Several Makefile cleanups.
878 \f
879 Version 1.11.1 - Michael Bushnell, 1992-09.
880
881 * Many bug fixes.
882 \f
883 Version 1.11 - Michael Bushnell, 1992-09.
884 Version 1.10.16 - 1992-07.
885 Version 1.10.15 - 1992-06.
886 Version 1.10.14 - 1992-05.
887 Version 1.10.13 - 1992-01.
888
889 * Many bug fixes.
890
891 * Now uses GNU standard configure, generated by Autoconf.
892
893 * Long options now use `--'; use of `+' is deprecated and support
894 for it will eventually be removed.
895
896 * New option --null causes filenames read by -T to be
897 null-terminated, and causes -C to be ignored.
898
899 * New option --remove-files deletes files (but not directories)
900 after they are added to the archive.
901
902 * New option --ignore-failed-read prevents read-errors from affecting
903 the exit status.
904
905 * New option --checkpoint prints occasional messages as the tape
906 is being read or written.
907
908 * New option --show-omitted-dirs prints the names of directories
909 omitted from the archive.
910
911 * Some tape drives which use a non-standard method of indicating
912 end-of-tape now work correctly with multi-tape archives.
913
914 * --volno-file: Read the volume number used in prompting the user
915 (but not in recording volume ID's on the archive) from a file.
916
917 * When using --multi-volume, you can now give multiple -f arguments;
918 the various tape drives will get used in sequence and then wrap
919 around to the beginning.
920
921 * Remote archive names no longer have to be in /dev: any file with a
922 `:' is interpreted as remote. If new option --force-local is given,
923 then even archive files with a `:' are considered local.
924
925 * New option --atime-preserve restores (if possible) atimes to
926 their original values after dumping the file.
927
928 * No longer does tar confusingly dump "." when you don't tell it
929 what to dump.
930
931 * When extracting directories, tar now correctly restores their
932 modification and access times.
933
934 * Longnames support is redone differently--long name info directly
935 precedes the long-named file or link in the archive, so you no
936 longer have to wait for the extract to hit the end of the tape for
937 long names to work.
938 \f
939 Version 1.10 - Michael Bushnell, 1991-07.
940
941 * Filename to -G is optional. -C works right. Names +newer and
942 +newer-mtime work right.
943
944 * -g is now +incremental, -G is now +listed-incremental.
945
946 * Sparse files now work correctly.
947
948 * +volume is now called +label.
949
950 * +exclude now takes a filename argument, and +exclude-from does
951 what +exclude used to do.
952
953 * Exit status is now correct.
954
955 * +totals keeps track of total I/O and prints it when tar exits.
956
957 * When using +label with +extract, the label is now a regexp.
958
959 * New option +tape-length (-L) does multi-volume handling like BSD
960 dump: you tell tar how big the tape is and it will prompt at that
961 point instead of waiting for a write error.
962
963 * New backup scripts level-0 and level-1 which might be useful
964 to people. They use a file "backup-specs" for information, and
965 shouldn't need local modification. These are what we use to do
966 all our backups at the FSF.
967 \f
968 Version 1.09 - Jay Fenlason, 1990-10.
969 Version 1.08 - Jay Fenlason, 1990-01.
970 Versions 1.07 back to 1.00 by Jay Fenlason.
971
972 * See ChangeLog for more details.
973
974 \f
975
976 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003,
977 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
978
979 This file is part of GNU tar.
980
981 GNU tar is free software; you can redistribute it and/or modify
982 it under the terms of the GNU General Public License as published by
983 the Free Software Foundation; either version 3, or (at your option)
984 any later version.
985
986 GNU tar is distributed in the hope that it will be useful,
987 but WITHOUT ANY WARRANTY; without even the implied warranty of
988 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
989 GNU General Public License for more details.
990
991 You should have received a copy of the GNU General Public License
992 along with tar; see the file COPYING. If not, write to
993 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
994 Boston, MA 02110-1301, USA.
995 \f
996 Local variables:
997 mode: outline
998 paragraph-separate: "[ \f]*$"
999 eval: (add-hook 'write-file-hooks 'time-stamp)
1000 time-stamp-start: "changes. "
1001 time-stamp-format: "%:y-%02m-%02d"
1002 time-stamp-end: "\n"
1003 end:
This page took 0.082103 seconds and 5 git commands to generate.