Jump to content

How to read file from a tarball (.tar.gz) ?


Recommended Posts

I would like to read a binary file in a folder within a tarball file (.tar.gz) on labview without extracting the tarball. I have been searching online for OpenG documentation, but I couldn't find much help. Can someone please give me some direction on how I can begin my labview function? Any help is much appreciated. Thank you! 

Edited by charlotte_dev
Link to comment

Windows 10 now has a built-in tar command.

You could extract just that one binary file using a filter in the extract command:

tar -xzvf filename.tar.gz <patterns>

So for you binary file, it could just be:

tar -xzvf filename.tar.gz foldername/binfilename

This will extract your binary file next to the tar.gz file.

  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.