cloudy-agn/scripts/util/localsync_scripts.sh
2015-10-10 23:14:55 -04:00

11 lines
261 B
Bash
Executable File

#!/bin/bash
script_dir=$( cd $(dirname $0) ; pwd -P |sed 's@^\(.*\)/scripts.*@\1/scripts@')
date > $script_dir/refresh_date
scp -ro port=17940 caes@fulgeo.shadydealings.net:/usr/local/sfs/store/science/agn/scripts/* $script_dir/
chmod -R 700 $script_dir/*