#!/bin/zsh
zmodload zsh/net/tcp
if [ "$#" = 0 ]
then
	echo "Usage: $0 machine fichiers..."
	exit 0
fi
ztcp "$1" 12345
fd=$REPLY
shift
exec nice -20 tar -c --checkpoint "$@" >&$fd
