From an NCSA production machine:
msscmd "tar xf filename.tar"
With SSH:
ssh your_login@mss.ncsa.uiuc.edu "cat filename.tar" | tar xvf -
From an NCSA production machine:
msscmd "tar cf filename.tar ."
With SSH:
tar -cvf - . | ssh your_login@mss.ncsa.uiuc.edu "cat - > filename.tar"
From an NCSA production machine:
msscmd 'get filename.tar "|tar xvf - fileToExtract"'
Using FTP:
ftp> get tarfile.tar"| tar xvf - fileToExtract"
With SSH:
ssh your_login@mss.ncsa.uiuc.edu "cat filename.tar" | tar xvf - fileToExtract
Warning: The above commands 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
prepend abc/ to fileToExtract. The local abc
directory will automatically be created if it does not currently exit, and
the commands will put fileToExtract in that directory.
|