Extract *.png files from the files.tar archive.
You can use this short tar command.
              
                  tar -xvf files.tar --include '*.png'
              
          
      Or this more verbose tar command.
              
                  tar --extract --verbose --file files.tar --include '*.png'
              
          
      Note: The required directories will be extracted also.
-x or --extract tells tar to extract an existing archivev or --verbosetells tar to produce verbose outputf or --filetells tar that the next parameter will be the tar file to create, extract, append to, list, etc.--include tells tar to process files or directories that match the specified pattern