katilp / sandbox

My trials
0 stars 0 forks source link

Notes: Copying to eos opendata upload area #26

Open katilp opened 5 years ago

katilp commented 5 years ago

($ export EOS_MGM_URL=root://eospublic.cern.ch)

setenv EOS_MGM_URL root://eospublic.cern.ch
eos cp test.txt /eos/opendata/cms/upload/kati

or:

xrdcp test.txt root://eospublic.cern.ch//eos/opendata/cms/upload/kati

see also: eos help for other available commands

katilp commented 1 year ago

$ eos cp root://eosuser.cern.ch//eos/user/k/kati/db_files_for_container/FT53_V21A_AN6_FULL.db /eos/opendata/cms/conddb/selection-for-containers/cmssw_5_3_32/FT53_V21A_AN6_FULL_data_stripped.db

eos mkdir /eos/opendata/cms/conddb/selection-for-containers/cmssw_5_3_32/FT53_V21A_AN6_FULL
files=$(ls FT53_V21A_AN6_FULL)
for f in $files; do  eos cp -r root://eosuser.cern.ch//eos/user/k/kati/db_files_for_container/FT53_V21A_AN6_FULL/$f /eos/opendata/cms/conddb/selection-for-containers/cmssw_5_3_32/FT53_V21A_AN6_FULL/$f ; done