#
#####Message Texts#######
set mesg1 = "Retrieve the entire tar, or just specific files(e or s):"
set mesg2 = "Please specify which files / directories you wish to restore:"
set mesg3a = "Please enter the pathname of the destination directory for this "
set mesg3b = "retrieval(default is current directory):"
set mesg4 = "Verbose mode(y or n):"
#########################
echo -n $mesg1
set what = ($<)
if ($what == 's') then
	echo $mesg2
	set which = ($<)
else
	set which = ' '
endif

echo $mesg3a
echo -n $mesg3b
set dest_dir = ($<)
if ($#dest_dir == 0) then
	set dest_dir = \.
endif

echo -n $mesg4
set verb = ($<)
if ($verb != n) then
	set verb = v
else
	set verb = ' '
endif 

cd $dest_dir
pwd

#tar x$verb $which
