:
#
# Phony tree cp
#
#
if( $#argv != 2 ) then
	echo Incorrect Usage
	echo treecp path/dir_name dir_name
	echo \(path/dir is the directory to be copied\)
	echo \(dir_name is the name for the new directory\)
	exit ( 0 )
endif

set noglob
set target_path=`pwd`
set target=`echo $target_path/${2}`

mkdir $target
cd ${1} ; tar cf - . | ( cd $target ; tar xf - . )
