0

I am trying to extract a specific file from a tar.gz file. This is the code I used:

tar -zxvf Laura.tar.gz Laura/2021-10-22_16.52.10_pWOX5-YFP_x_membraneRed_Movie1/DC_CROPPED_h5/DC_CROPPED.h5

Laura.tar.gz is my tar.gz and DC_CROPPED.h5 is the file that I want to extract (its directory is the one that appears in the code).

Why am I not getting feedback as I run the code? I feel like verbose (-v) is not working.

I am doing all of this in Putty from windows.

warren
  • 18,369
  • 23
  • 84
  • 135

1 Answers1

0

The structure of a tar file is just a long list of ${file_metadata}${file_content} so it still needs to find the specific file you're looking for in the archive, which means sifting through it. Depending on the size of the archive and the performance of the storage it's on, this can take a while.

Ginnungagap
  • 2,595
  • 10
  • 13