Hi Philip, > When > tar --extract --file test.tar filename > has found and written the contents of "filename", it could stop, but does not. > > I assume this is because archive members with matching names could be present > more than once, therefore the whole archive must be scanned.
Please use the --occurrence option: https://www.gnu.org/software/tar/manual/html_node/Option-Summary.html#index-occurrence_002c-summary Regards, Sergey