Changeset 8886 for trunk/MagicSoft/Mars/datacenter/scripts/checkmd5sum
- Timestamp:
- 05/07/08 18:31:04 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/checkmd5sum
r8857 r8886 20 20 # Author(s): Stefan Ruegamer 05/2007 <mailto:snruegam@astro.uni-wuerzburg.de> 21 21 # 22 # Copyright: MAGIC Software Development, 2000-200 722 # Copyright: MAGIC Software Development, 2000-2008 23 23 # 24 24 # … … 74 74 75 75 # check if the file has been extracted from tape; if not, don't write anything to the logfiles (so they can still be compared) 76 if [ ! -f /magic/datacenter/fromtape/${sum[0]} ] 76 if [ ! -f /magic/datacenter/fromtape/${sum[0]} ] && [ ! -f /data/fromtape/${sum[0]} ] 77 77 then 78 78 echo "File ${sum[0]} does not exist." … … 83 83 echo "${sum[1]} ${sum[0]}" >> ${checkpath}/tape_${id}.md5.lapalma 84 84 85 ssh -nx phoenix nice -n 19 /opt/csw/bin/gmd5sum /magic/datacenter/fromtape/${sum[0]} | sed -e 's/\/magic\/datacenter\/fromtape\///' >> ${checkpath}/tape_${id}.md5.wue 86 #md5sum /magic/datacenter/fromtape/${sum[0]} | sed -e 's/\/magic\/datacenter\/fromtape\///' >> ${checkpath}/tape_${id}.md5.wue 85 if [ ! -f /magic/datacenter/fromtape/${sum[0]} ] 86 then 87 ssh -nx phoenix nice -n 19 /opt/csw/bin/gmd5sum /data/fromtape/${sum[0]} | sed -e 's/\/data\/fromtape\///' >> ${checkpath}/tape_${id}.md5.wue 88 else 89 ssh -nx phoenix nice -n 19 /opt/csw/bin/gmd5sum /magic/datacenter/fromtape/${sum[0]} | sed -e 's/\/magic\/datacenter\/fromtape\///' >> ${checkpath}/tape_${id}.md5.wue 90 #md5sum /magic/datacenter/fromtape/${sum[0]} | sed -e 's/\/magic\/datacenter\/fromtape\///' >> ${checkpath}/tape_${id}.md5.wue 91 fi 87 92 fi 88 93 done < $file
Note:
See TracChangeset
for help on using the changeset viewer.