Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I extract one file from a tar file on UniTree?

Extract file tar unitree
0
Posted

How can I extract one file from a tar file on UniTree?

0

In UniTree issue the command: ftp> get tarfile.tar “| tar xvf – fileToExtract ” From an NCSA production machine: % msscmd ‘get filename.tar “|tar xvf – fileToExtract “‘ Warning: The above command assumes that fileToExtract is in the top level directory of the tar file. If fileToExtract was in the directory abc in the tar file filename.tar then execute the command: % msscmd ‘get filename.tar “|tar xvf – abc/fileToExtract”‘ The above command will automatically create the directory abc, if it does not currently exist, and put the file fileToExtract in that directory.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123