- Timestamp:
- 08/08/06 17:15:52 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/copyscript
r7861 r7866 94 94 fi 95 95 96 97 ssh lapalma@apollo chmod -R g+w $transdir/* >> $scriptlog 2>&1 98 99 96 100 cd $mars 97 101 … … 136 140 137 141 #check for each file whether it has to be processed 138 if grep "$filename: OK" $transdir/.check >> $scriptlog 2>&1142 if grep -i "$filename: OK" $transdir/.check >> $scriptlog 2>&1 139 143 then 140 144 newfile=`echo $file | sed -e 's/home\/lapalma\/transfer/magic\/subsystemdata/' -e 's/ccdata/cc/' -e 's/cacodata/caco/' -e 's/drivelogs/drive/' -e 's/_/\//1' -e 's/_/\//1' ` … … 220 224 diff $catfile $catalog >> $diff 221 225 #getting differences 222 ins=`cat $diff | grep '>'`#what has been inserted223 outs=`cat $diff | grep '<'` #what has been removed226 ins=`cat $diff | grep '>'` #what has been inserted 227 outs=`cat $diff | grep '<'` #what has been removed 224 228 225 229 #check if lines have been inserted
Note:
See TracChangeset
for help on using the changeset viewer.