: #!/bin/sh
#	mvtree dir1 dir2
# Make a copy of dir1 at dir2, and then delete dir1.  Note that we use
# lntree to do the copy; by default this uses links if possible, so we
# shouldn't have too much trouble with space.

if [ $# -lt 2 ];then echo Usage: $0 dir1 dir2; exit 1; fi

if lntree $*
then rm -rf $1
else echo '### cptree $* returned status '$?'.'
fi
