bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Workaround for extracting archives sparsely


From: Joerg Schilling
Subject: Re: [Bug-tar] Workaround for extracting archives sparsely
Date: Fri, 11 Mar 2011 22:48:00 +0100
User-agent: nail 11.22 3/20/05

address@hidden wrote:

> A few weeks ago I suggested that tar be given the ability to extract files
> from archives sparsely. That is, files which contain runs of all-zero
> bytes would be extracted as sparse files. [That's useful for saving disk
> space, reducing disk I/O and making extracted files faster to work with.]
>
> Currently neither GNU tar nor star can do that, but the FreeBSD version of
> tar can. It's in the bsdtar package in Debian-based Linux distributions.

Star does this since 1990.

Use star -x -force-hole

Jörg

-- 
 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden                (uni)  
       address@hidden (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



reply via email to

[Prev in Thread] Current Thread [Next in Thread]