#!/bin/csh -f # pull_tree_from_mbp1 # ------------------------------------------------------------------------------ # Shell script to pull the current directory tree of files back from mbp1 # ------------------------------------------------------------------------------ # Usage: See Usage section below or run with -h or --help option to see usage. # Assumptions: # Effects: # - Copies files here from mbp1 # Notes: # Anticipated Changes: # Implementation Notes: # Portability Issues: # Revision History: # $Log$ # ------------------------------------------------------------------------------ if ("$1" == "-h" || "$1" == "--help") then echo "Usage: $0:t" exit 1 endif echo "About to copy mbp1:$PWD" echo " to $PWD" set answer = `promptloop "Are you sure (yes/n)? " yes n` if ("$answer" == "n") then exit 1 endif echo rsyncupdate --log mbp1:$PWD:q/ $PWD:q rsyncupdate --log mbp1:$PWD:q/ $PWD:q