Looking for the right tar command (unix)
I have a tar archive with (as example) the following files in it:
I'm looking for the right tar command to extra just the index.html files with their full file path, so in my example:
Is this possible with tar?
Thanks in advance.
You can specify the filename on the commandline with wildcards. So, for example if your tar archive was named rene.tar, the command to just extract the index.html files in the correct paths would be:
Originally Posted by joomlaguy
tar xf rene.tar *index.html*