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 be (for readers): $ tar -c file | tar -t dir > tar: Exiting with failure status due to previous errors > $ echo $? > 2 > > The attached patch implements a new option > --ignore-missing/--no-ignore-missing which allows the behavior wanted: 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 archive creation and --ignore-missing works just for archive extraction. Pavel