#!/bin/tcsh -f ############################## # Keep this next line in script # AFNI_RUNME_COOKIE ############################## cat << EOF This is going to: Get some new handouts for the Bootcamp... EOF sleep 1 set afnisite = https://afni.nimh.nih.gov set p1 = pub/dist/edu/latest/afni_handouts set files = ( afni31_sidedness_tests.pdf afni11_roi_cmds.txt \ afni24_GroupAna.pdf ETAC_clone.pdf ) foreach file ( $files ) curl -OfS $afnisite/$p1/$file # we are working in a 'tmp' directory, move things up one \mv -f $file .. end # move out of the 'tmp' directory cd .. echo "" echo "Update complete:" echo "Got new files:" \ls -l $files echo ""