Skip to content

Instantly share code, notes, and snippets.

@swang373
Created June 13, 2018 02:05
Show Gist options
  • Save swang373/88e74e4d0e4f321fc1d2e575f92b4d53 to your computer and use it in GitHub Desktop.
Save swang373/88e74e4d0e4f321fc1d2e575f92b4d53 to your computer and use it in GitHub Desktop.
Move AnalysisTools output files from one LPC EOS directory to another
SRC="/store/group/lpchbb/VHbbAnalysisNtuples/RESUBMIT_June9_2016V4"
DST="/store/group/lpchbb/VHbbAnalysisNtuples/CMSConnect_June9_2016V4/ggZH125_ZLL_powheg"
FILES=(
output_ggZH125_ZLL_powheg_177part0.root
output_ggZH125_ZLL_powheg_177part1.root
output_ggZH125_ZLL_powheg_177part10.root
output_ggZH125_ZLL_powheg_177part11.root
output_ggZH125_ZLL_powheg_177part12.root
)
for f in ${FILES[@]}; do
eos root://cmseos.fnal.gov mv "$SRC/$f" "$DST/$f"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment