Changeset 7861 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 08/08/06 09:56:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/copyscript
r7835 r7861 209 209 diff=$setuppath/.diff #file to store difference 210 210 #addresses to which the changes are sent 211 adrs="d orner@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de, hoehne@astro.uni-wuerzburg.de"211 adrs="datacenter@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de" 212 212 213 213 #getting new catalogfiles 214 catfiles=`find $subsystempath/cc/ -name $magfav - cnewer $catalog | sort`214 catfiles=`find $subsystempath/cc/ -name $magfav -newer $catalog | sort` 215 215 216 216 for catfile in ${catfiles[@]} 217 217 do 218 218 #write information into .diff 219 echo " file: "$catfile>| $diff220 diff $cat alog $catfile>> $diff219 echo "diff $catfile $catalog" >| $diff 220 diff $catfile $catalog >> $diff 221 221 #getting differences 222 222 ins=`cat $diff| grep '>'` #what has been inserted
Note:
See TracChangeset
for help on using the changeset viewer.