summaryrefslogtreecommitdiffstats
path: root/clean_repro_zzh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'clean_repro_zzh.sh')
-rwxr-xr-xclean_repro_zzh.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/clean_repro_zzh.sh b/clean_repro_zzh.sh
deleted file mode 100755
index 1478f9c..0000000
--- a/clean_repro_zzh.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# Clean the 'repro' and its subdirectories for the sources
-# drawn from zzh among the excess_sample.
-#
-#
-# Aaron LI
-# 2016-04-12
-#
-
-case "$1" in
- ""|-[hH]*)
- echo "Usage: `basename $0` <repro_dir1> ..."
- exit 1
-esac
-
-INIT_DIR=`pwd -P`
-while [ ! -z "$1" ]; do
- repro_dir="$1"
- shift
- cd ${INIT_DIR}
- cd ${repro_dir}
- echo "*** Cleaning '${repro_dir}' ..."
- cd evt
- rm -fv *~ .?*~ _* *.log
- rm -fv evt2*_orig.fits evt2*_rmsrcs.fits
- rm -fv img_*.fits sbprofile.reg *fov*.fits
- mv -fv peak*.reg ../img/
- cd ../bkg
- rm -fv *~ .?*~ _* *.log
- cd ../img
- rm -fv *~ .?*~ _* *.log
- rm -fv rspec*bak *fov*.fits img_*.fits
-done
-