Microsoft
Software
Hardware
Network
Question : How do I perform this shell command in reverse?
Hi,
I found the following command which logs into a remote server, zips a file and sends it straight over the network and unzips it on the remote machine in one action, which saves I/O on both machines:
serverA $ gzip -c /file/being/zipped | ssh root@serverB "gunzip -c - > /file/unzipped"
How would I perform this command in reverse? In other words, login in to a remote server, get the remote server to zip and send the file, and then unzip it as it arrives on the local machine?
Thanks
Answer : How do I perform this shell command in reverse?
ssh root@serverB "gzip -c /file/being/zipped " | gunzip -c - > /file/unzipped
Random Solutions
Cfouput distinct items for a field
Unresolved external symbol error
SMTP-auth via telnet
How to stop Outlook from Archiving
Tulip Motionline (m350c) drivers
Opening .MSG attachments
Page Not Found - Hotmail IE 6 SP1
rdp session gets disconnected when switching to outlook
How to disable reading pane and auto preview in Outlook 2003
Disabled Syskey by mistake