Re: [Bug-tar] Feature request (patch): ignore requested members missing in archive

2014-06-26 Thread Joerg Schilling
Vladimir A. Pavlov p...@bk.ru wrote: Well, there are many options in gtar that do not follow a scheme but just serve a single purpose. For this reason, they are hard to remember. The current proposal would be covered by a general method in star: errctl= See:

Re: [Bug-tar] Feature request (patch): ignore requested members missing in archive

2014-06-25 Thread Vladimir A . Pavlov
Well, there are many options in gtar that do not follow a scheme but just serve a single purpose. For this reason, they are hard to remember. The current proposal would be covered by a general method in star: errctl= See:

Re: [Bug-tar] Feature request (patch): ignore requested members missing in archive

2014-06-24 Thread Pavel Raiskup
n Monday 23 of June 2014 21:20:28 Vladimir A. Pavlov wrote: How can we solve this? AFAIU you suggest something like reusing --ignore-failed-read for the feature in question (correct me if I'm wrong). Previously, I was thinking about something like that ^^. But --ignore-failed-read is not

Re: [Bug-tar] Feature request (patch): ignore requested members missing in archive

2014-06-23 Thread Pavel Raiskup
Hello Vladimir, On Monday 23 of June 2014 01:22:16 Vladimir A. Pavlov wrote: It's sometimes useful to ignore errors tar returns if a requested member is not found in archive, yes, I think this would be useful, For example: $ touch file $ tar -c file | tar -t file Just a nit, here should

Re: [Bug-tar] Feature request (patch): ignore requested members missing in archive

2014-06-23 Thread Vladimir A . Pavlov
Hello Pavel, Just a nit, here should be (for readers): $ tar -c file | tar -t dir Oops, thanks you. That's exactly what I mean. I don't like the '--ignore-missing' approach. That adds another non-symetric option to tar. We have the '--ignore-failed-read' option which works for

[Bug-tar] Feature request (patch): ignore requested members missing in archive

2014-06-22 Thread Vladimir A . Pavlov
Hi! It's sometimes useful to ignore errors tar returns if a requested member is not found in archive, while receiving other possible errors (corrupt or absent archives, no space left on device, etc). For example: $ touch file $ tar -c file | tar -t file tar: dir: Not found in archive tar: