-- AmnonHarel - 03 Oct 2008 Create links (in current dir) to all configs in a different dir (e.g. ~/test/):
 ls -1 ~/test/*cfg ~/test/*.py | awk -F \/ '{system("ln -s "$0" "$NF)}'

CMSSW is located in:

  • CERN: /afs/cern.ch/cms/sw/slc4_ia32_gcc345/cms/cmssw (which evidently depends on OS_CPU_compiler)
  • LPC: /uscmst1/prod/sw/cms/slc4_ia32_gcc345/cms/cmssw (ditto)

Change input area (here: cmslpc --> lxplus): sed -i.org s/uscms_data\\/d1\\/aharel/afs\\/cern.ch\\/user\\/a\\/aharel\\/w0/ rct.py

Change output area (here: cmslpc --> kcrooke): sed -i.org s/uscms_data\\/d2\\/aharel/d2\\/aharel/ dj170.py


Copying files that match a pattern (no wildcards in builtin commands):

nsls /castor/cern.ch/user/a/aharel/gridout/ | awk '/dj50/ {system("rfcp /castor/cern.ch/user/a/aharel/gridout/"$1" .")}'
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2009-02-11 - AmnonHarel
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback