Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:28

0001 #! /bin/bash
0002 source /afs/cern.ch/cms/caf/setup.sh
0003 
0004 
0005 INDIR=/castor/cern.ch/cms/store/caf/user/bonato/Collisions2010/Run2010B/Oct2010/
0006 OUTDIR=/castor/cern.ch/cms/store/caf/user/bonato/Collisions2010/Run2010A-v2/
0007 
0008 NMOVED=0
0009 for file in $( nsls ${INDIR} )
0010 do
0011 nsrename -f ${INDIR}/${file}  ${OUTDIR}/${file}
0012 let "NMOVED=NMOVED+1"
0013 done
0014 
0015 echo "Moved $NMOVED files"
0016 echo ""
0017 echo "List of files remaining in INDIR=${INDIR}"
0018 nsls $INDIR