#!/bin/sh if [ -z "$1" ] ; then echo "Usage `basename $0` remotehost" fi cd ~/.skel tar zhcf - . | ssh $1 "tar zpvxf -"