- Timestamp:
- 02/24/06 14:33:01 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7524 r7525 26 26 - reduced width of menu 27 27 28 * datacenter/scripts/copyscript: 29 - added makedir for oldcatalogpath 30 28 31 29 32 -
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.