ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Processing/bin/move
(Generate patch)

Comparing UserCode/MitProd/Processing/bin/move (file contents):
Revision 1.4 by ceballos, Sat Oct 23 04:57:55 2010 UTC vs.
Revision 1.5 by paus, Sun Dec 5 01:01:21 2010 UTC

# Line 22 | Line 22 | def clean(file):
22   def exists(target):
23      if   re.search('/castor/cern.ch/',target):
24          debugPrint(' Identified a castor directory: ' + target)
25 <        cmd = 'rfdir ' + target + '>& /dev/null'
25 >        cmd = 'rfdir ' + target
26      elif re.search('/pnfs/cmsaf.mit.edu/',target):
27          debugPrint(' Identified a tier-2 directory: ' + target)
28          cmd = 'ssh paus@cgate.mit.edu ls -1 ' + target + '\>\& /dev/null'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines