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
How to print multiple MS WORD docs from browser
LGIncite Contacts Displayed as "Last Name, First"
'Unknown Error 0x800C8100'
make bootable dos 6.22 cdrom
Same user gets locked out at random
Adobe Acrobat 7.0 for Macintosh
symantec ghost suite 2.2 + usb boot disk
Invalid attribute in connection string: Server.
Outlook Import .pst, duplicate inboxes and duplicate contact lists
Virus - Spyware Protection 2009