Cookies op Tweakers

Tweakers maakt gebruik van cookies, onder andere om de website te analyseren, het gebruiksgemak te vergroten en advertenties te tonen. Door gebruik te maken van deze website, of door op 'Ga verder' te klikken, geef je toestemming voor het gebruik van cookies. Wil je meer informatie over cookies en hoe ze worden gebruikt, bekijk dan ons cookiebeleid.

Meer informatie

Door , , 0 reacties
Bron: GNU Project

Sergey Poznyakoff, één van de ontwikkelaars bij het GNU Project, heeft Tar voorzien van een nieuwe uitgave met versienummer 1.21. Tar werd oorspronkelijk ontwikkeld om bestanden in een bestandsarchief naar sequentiële apparaten weg te schrijven, zoals een tapestreamer, met behoud van informatie uit het bestandssysteem. Tegenwoordig wordt het voornamelijk gebruikt in combinatie met compressieprogramma's zoals gzip en bzip2 om bestanden en mappen in te pakken naar een bestandsarchief. Voor meer informatie over Tar verwijzen we jullie door naar deze pagina bij Wikipedia. De lijst met veranderingen sinds de vorige vermelding in de Meuktracker ziet er als volgt uit:

Version 1.21:
  • New short option -J, an alias for --lzma
  • New option --lzop
  • New option --no-auto-compress, Cancels the effect of previous --auto-compress (-a) option
  • New option --no-null, Cancels the effect of previous --null option.
  • Compressed format recognition, If tar is unable to determine archive compression format, it falls back to using archive suffix to determine it.
  • VCS support, Using --exclude-vcs handles also files used internally by Bazaar, Mercurial and Darcs.
  • Transformation scope flags, Name transformation expressions understand additional flags that control type of archive members affected by them. The flags are:
      r - Apply transformation to regular archive members.
      s - Apply transformation to symbolic link targets.
      h - Apply transformation to hard link targets.
    The corresponding upper-case letters negate the meaning, so that H means do not apply transformation to hard link targets. The scope flags are listed in the third part of a s expression, e.g.:
    [code]$ tar --transform 's|^|/usr/local/|S'[/code]
    The default is rsh, which means that transformations are applied to both regular archive members and to the targets of symbolic and hard links.
    If several transform expressions are used, the default flags can be changed using flags= statement placed before the expressions, e.g.:
    [code]$ tar --transform 'flags=S;s|^|/usr/local/|'[/code]
  • Bugfixes:
    • The --null option disabled handling of tar options in list files. This is fixed.
    • Fixed record size autodetection. If detected record size differs from the expected value (either default, or set on the command line), tar prints a warning if verbosity level is set to 1 or greater, i.e. if either -t or -v option is given.
Version 1.20:
  • New option --auto-compress (-a), With --create, selects compression algorithm basing on the suffix of the archive file name.
  • New option --lzma, Selects LZMA compression algorithm.
  • New option --hard-dereference, During archive creation, dereferences hard links and stores the files they refer to, instead of creating usual hard link members (type '1').
  • New option --checkpoint-action, This action allows to specify an action to be executed upon hitting a checkpoint. Recognized actions are: dot, echo (the default), echo=string, ttyout=string, exec=cmdline, and sleep=value. Any number of --checkpoint-action options can be specified, the actions will be executed in order of their appearance in the command line. See section 3.8 "Checkpoints" for a complete description.
  • New options --no-check-device, --check-device. The --no-check-device option disables comparing device numbers during preparatory stage of an incremental dump. This allows to avoid creating full dumps if the device numbers change (e.g. when using an LVM snapshot).
    The --check-device option enables comparing device numbers. This is the default. This option is provided to undo the effect of the previous --no-check-device option, e.g. if it was set in TAR_OPTIONS environment variable.
  • The --transform option. Any number of --transform options can be given in the command line. The specified transformations will be applied in turn. Argument to --transform option can be a list of replace expressions, separated by a semicolon (as in sed). Filename transformations are applied to symbolic link targets during both creation and extraction. Tar 1.19 used them only during extraction. For a detailed description, see section 6.7 "Modifying File and Member Names".
  • Info (end-of-volume) scripts, The value of the blocking factor is made available to info and checkpoint scripts via environment variable TAR_BLOCKING_FACTOR.
  • Incremental archives, Improved (sped up) extracting from incremental archives.
  • Bugfixes:
    • Fix bug introduced in version 1.19: tar refused to update non-existing archives.
Versienummer:1.21
Releasestatus:Final
Besturingssystemen:Linux, BSD, macOS, Solaris, UNIX
Website:GNU Project
Download:http://ftp.gnu.org/gnu/tar/tar-1.21.tar.gz
Bestandsgrootte:2,83MB
Licentietype:GPL
Moderatie-faq Wijzig weergave

Reacties


Er zijn nog geen reacties geplaatst

Op dit item kan niet meer gereageerd worden.



Apple iOS 10 Google Pixel Apple iPhone 7 Sony PlayStation VR AMD Radeon RX 480 4GB Battlefield 1 Google Android Nougat Watch Dogs 2

© 1998 - 2016 de Persgroep Online Services B.V. Tweakers vormt samen met o.a. Autotrack en Carsom.nl de Persgroep Online Services B.V. Hosting door True