SSH to unpack rar or zip


#1

hello all,

Is it possible to use ssh to upload a zip or rar file, then unpack it on the server?
The reason I am asking is because if I try to ftp a directory of phpBB (for example), it takes ages to upload all the tiny files & many directories.
I would prefer to upload a single .rar file & unpack it (in theory should be very quick)

Any ideas?

rootey


#2

Sure.

Or, in the case of phpBB, just download the .tar.gz or tar.bz2 file in the first place.


#3

thanks will,
i guess i just cd to the correct directory & execute the rar or tar command on the file?
rootey