#!/usr/bin/env tcsh 

##############################
# Keep this next line in script
# AFNI_RUNME_COOKIE
##############################

set site = https://afni.nimh.nih.gov/pub/dist/bin/misc/files
set files = ( run.ppi.example.txt )

foreach file ( $files )
    set cmd = ( curl -O $site/$file )

    echo ""
    echo "============================================================"
    echo $cmd
    $cmd
    \mv $file ..
end

echo ""
echo "----------------------------------------------------------------------"
echo downloaded: $files
echo "----------------------------------------------------------------------"
echo ""
