#! /bin/ksh # # run from parent directory # echo ftp tar cf - slides* | ssh -p 8022 localhost "cd `pwd` && tar xvf -" echo fog tar cf - slides* | ssh fog "cd `pwd` && tar xvf -"