Date: Sat, 4 May 2002 13:30:49 +0300 From: Odhiambo Washington <wash@wananchi.biz> To: freebsd-questions@FreeBSD.ORG Subject: Help get reverse of this command Message-ID: <20020504103049.GA30802@ns2.wananchi.com>
next in thread | raw e-mail | index | archive | help
I can do this tar $some_args some_dirs | /usr/bin/ssh alligator '(cd /home/wash/Administration/Backups; cat > filename.tgz)' this pipes the output to the remote host... How do I 'backpipe' in such a situation, i.e. login to remote host, tar up some_dir and put it here (on the host I am logged in)? My question is not clear, yes? On hostB I have a directory which when tarred up will be 20MB in size. I have only 5MB free space on hostB so what I want to do is ssh to hostB tar up that directory but redirect the output of tar into hostA where I am logged in. That is what I mean by backpiping ;-) Thanks -Wash -- Odhiambo Washington <wash@wananchi.com> "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD." GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-) Necessity is a mother. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020504103049.GA30802>