Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

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.

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

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.

share|improve this answer
1  
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

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
share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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