Is there a way to remotely ZIP up files using Putty the same way you can ZIP up files using Remote Desktop on another machine?

link|improve this question

20% accept rate
feedback

3 Answers

up vote 3 down vote accepted

It all depends on what's installed on the host that you're connecting to - whether you connect via SSH (PuTTY) to a Unix/Linux machine or RDP to a Windows machine.

Try running zip, gzip, bzip, or tar - those are usually installed on most Unix machines.

link|improve this answer
Thanks mfinni!! – Sixfoot Studio Nov 17 '10 at 10:21
feedback

as mfinni says, it requires that zip is installed on the remote system. Assuming that you are on a unix system and that zip is already installed, the command to unzip a file is:

unzip myzipfile.zip
link|improve this answer
Check the manpage for zip (man zip). You can do something like this: zip output.zip file1 file2 ... – lladnar Sep 17 '10 at 17:49
absolutely, but the question was to zip up a files, aka unzip :) – Avada Kedavra Sep 18 '10 at 9:10
feedback

You can also ZIP folders using Putty just like this:

zip -r filename.zip foldername

Its very useful when you want to backup and download folders with a lot of files.

link|improve this answer
This only works if the system has zip installed on it as two others have already pointed out. – Chris S Jul 13 '11 at 14:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.