Re: Adding remove file option to BSD tar?

2006-08-20 Thread Tim Kientzle
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 ...

Adding remove file option to BSD tar?

2006-08-08 Thread Steven Hartland
What do people think about adding an equivalent to gtars --remove-files? Its an option I find myself longing for on a regular basis and hence end up installing gtar and using that which kind of defeats the point of having bsd tar. So what do people think about adding this option? Steve

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Eric Anderson
On 08/08/06 12:09, Steven Hartland wrote: What do people think about adding an equivalent to gtars --remove-files? Its an option I find myself longing for on a regular basis and hence end up installing gtar and using that which kind of defeats the point of having bsd tar. So what do people

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Steven Hartland
- Original Message - From: Eric Anderson [EMAIL PROTECTED] Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done but its a PITA and majorly slow so a none option

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Eric Anderson
On 08/08/06 13:49, Steven Hartland wrote: - Original Message - From: Eric Anderson [EMAIL PROTECTED] Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done but

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Roman Kurakin
Steven Hartland: - Original Message - From: Eric Anderson [EMAIL PROTECTED] Some people on this list might argue that you could do this another way, something like piping a tar extract to another tar create that excludes that file. Sure that can be done but its a PITA and majorly

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Steven Hartland
- Original Message - From: Roman Kurakin [EMAIL PROTECTED] In case one concerned by the space problem there is now other way to do it failsafe. In case it is gziped it need to be extracted first in any case. Sorry dont follow you there? Are you talking about issues of deleting the

Re: Adding remove file option to BSD tar?

2006-08-08 Thread Tim Kientzle
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