Date: Tue, 08 Aug 2006 19:46:01 -0700 From: Tim Kientzle <kientzle@freebsd.org> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-hackers@freebsd.org Subject: Re: Adding remove file option to BSD tar? Message-ID: <44D94C69.1030901@freebsd.org> In-Reply-To: <020701c6bb0d$68ae7330$b3db87d4@multiplay.co.uk> References: <020701c6bb0d$68ae7330$b3db87d4@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Steven Hartland wrote: > What do people think about adding an equivalent to > gtars --remove-files? Shouldn't be too tricky. If you think you know how to implement it, send me the diffs. Doing this "safely" is nearly impossible, of course. In the compressed case, the compression pipeline buffers a LOT of data (bzip2 analyzes 900k blocks at a time). But even in the uncompressed case, archive blocking means that you CANNOT flush the archive after every file. A "safe" implementation would have to defer the actual deletion for a long time. Even without that, though, this is the sort of feature that many people would no doubt find useful. Tim Kientzle
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D94C69.1030901>