Skip to content

Instantly share code, notes, and snippets.

@xealits
Forked from nsahoo/eos_commands
Last active October 11, 2016 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xealits/9cef4646468695856c4f to your computer and use it in GitHub Desktop.
Save xealits/9cef4646468695856c4f to your computer and use it in GitHub Desktop.
EOS commands in CMS
# list the files in EOS
eos ls [-la] /eos/cms/user/t/test/
# copy all inside the directory recursively
eos cp -r /eos/cms/user/t/test/histodirectory/ /afs/cern.ch/user/t/test/histodirectory
# copy a single file
eos cp /eos/cms/user/t/test/histo.root /tmp/
eos cp /eos/cms/store/user/Username/Datadir/Data.root .
# also copy with:
xrdcp root://eoscms//eos/cms///store/mc/RunIISpring16MiniAODv1/TT_TuneCUETP8M1_13TeV-powheg-pythia8/MINIAODSIM/PUSpring16_80X_mcRun2_asymptotic_2016_v3_ext4-v1/00000/8A84F550-8D21-E611-8484-001E67A40451.root .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment