Changeset 7525 for trunk/MagicSoft/Mars/datacenter/scripts/copyscript
- Timestamp:
- 02/24/06 14:33:01 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/copyscript
r7518 r7525 253 253 #getting date of new catalogfile from path 254 254 date=`echo $catfile | cut -d/ -f5-7 | sed -e 's/\///g'` 255 255 256 oldcatalogpath=$setuppath/oldcatalogs 257 makedir $oldcatalogpath 256 258 #rsync current catalogfile to directory with old catalogfiles including the date of the new catalogfile into the filename 257 if ! rsync -av $catalog $ setuppath/oldcatalogs/$magfav.$date >> $scriptlog 2>&1259 if ! rsync -av $catalog $oldcatalogpath/$magfav.$date >> $scriptlog 2>&1 258 260 then 259 261 echo "could not do 'rsync -av $catalog $setuppath/oldcatalogs/$magfav.$date' -> exit" >> $scriptlog 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.