Can make a zip file from ssh

furukawa

New member
The answer is YES. It can be realized by using the tar command option "z".
Besides this, there are zip, unzip and gzip etc.
I am wondering one.
Generally, it is possible to shorten working time by compressing before updating.
Is there an advantage of remote compression?
 

c0nvct

New member
furukawa said:
The answer is YES. It can be realized by using the tar command option "z".
Besides this, there are zip, unzip and gzip etc.
I am wondering one.
Generally, it is possible to shorten working time by compressing before updating.
Is there an advantage of remote compression?

Remote compression is useful if your file is huge and you got a slow broadband connection.

As you can see, there are many options for packing files and compressing then. Depending what you intend to do with them, and as you mention Putty I'm assuming you use Windows, if the file is going to be downloaded and opened on a Windows machine you'll need to install to zip and if you're doing that you may as well install it's counterpart, unzip.

Ubuntu/Debian: apt-get install zip && apt-get install unzip

Fedora/CentOS: change apt-get to yum

There's loads of info online just Google zip files + Linux

tute on zipping/unzipping files in Linux
 

furukawa

New member
c0nvct said:
furukawa said:
The answer is YES. It can be realized by using the tar command option "z".
Besides this, there are zip, unzip and gzip etc.
I am wondering one.
Generally, it is possible to shorten working time by compressing before updating.
Is there an advantage of remote compression?

Remote compression is useful if your file is huge and you got a slow broadband connection.

As you can see, there are many options for packing files and compressing then. Depending what you intend to do with them, and as you mention Putty I'm assuming you use Windows, if the file is going to be downloaded and opened on a Windows machine you'll need to install to zip and if you're doing that you may as well install it's counterpart, unzip.

Ubuntu/Debian: apt-get install zip && apt-get install unzip

Fedora/CentOS: change apt-get to yum

There's loads of info online just Google zip files + Linux

tute on zipping/unzipping files in Linux