How can I extract one file from a tar file on UniTree?
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.