#!/bin/tcsh
setenv DIR 00_09
cd /uscmst1b_scratch/lpc1/3DayLifetime/kalanand/BOOST/softQCD_13TeV/float/$DIR/
foreach datafile ( `ls *` ) 
	echo "submitting: file://localhost//uscmst1b_scratch/lpc1/3DayLifetime/kalanand/BOOST/softQCD_13TeV/float/$DIR/$datafile  srm://cmssrm.fnal.gov:8443/srm/managerv2?SFN=/11/store/user/lnujj/BOOST2012/softQCD_13TeV/float/$DIR/$datafile" 

	 srmcp -2 -debug=true "file://localhost//uscmst1b_scratch/lpc1/3DayLifetime/kalanand/BOOST/softQCD_13TeV/float/$DIR/$datafile" "srm://cmssrm.fnal.gov:8443/srm/managerv2?SFN=/11/store/user/lnujj/BOOST2012/softQCD_13TeV/float/$DIR/$datafile"
    end
    echo ""
