hello. how can i extract a remote tar file using ssh? thank you.
Page 1 of 1
just asking
#2
Posted 13 July 2005 - 08:16 PM
Well, on Darwin you use:
%: tar -xvzf filename
The -x flag indicates that you wish to x-tract the file(s)
The -v flag means "verbose"
The -z flag ****omit this flag if the file is not compressed****
The -f flag tells tar to extract from a file and not a tape archive
w/ secure shell I assume that you just use the above command, given that the computer you are interacting with is Unix based.
%: tar -xvzf filename
The -x flag indicates that you wish to x-tract the file(s)
The -v flag means "verbose"
The -z flag ****omit this flag if the file is not compressed****
The -f flag tells tar to extract from a file and not a tape archive
w/ secure shell I assume that you just use the above command, given that the computer you are interacting with is Unix based.
#3
Posted 13 July 2005 - 08:22 PM
Check your man pages for the exact flags, they tend to vary. (man tar -or- atropos tar)
Share this topic:
Page 1 of 1

Help










