ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/andersj/HcalPlotter/tests_scp.py
(Generate patch)

Comparing UserCode/andersj/HcalPlotter/tests_scp.py (file contents):
Revision 1.1 by andersj, Fri Aug 5 21:08:09 2011 UTC vs.
Revision 1.2 by andersj, Thu Aug 18 19:50:17 2011 UTC

# Line 31 | Line 31 | process.maxEvents = cms.untracked.PSet(
31   )
32   inFileName = 'EcalHcalCombined2011_{0:08d}.0.root'.format(RUNNUMBER)
33   if not os.access('moe5/{0}'.format(inFileName), os.R_OK):
34 <    cmd = ['scp','daq@cmsmoe5:/data0/spool/{0}'.format(inFileName),
34 >    cmd = ['scp','-Cp','daq@cmsmoe5:/data0/spool/{0}'.format(inFileName),
35             'moe5/{0}'.format(inFileName)]
36      print ' '.join(cmd)
37      subprocess.call(cmd)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines