source: soft/build_system/build_system/upload/robot/trunk/save.sh @ 1

Last change on this file since 1 was 1, checked in by fasma, 13 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 316 bytes
Line 
1#!/bin/sh
2
3CURRENT=`date +%Y%m`
4if [ -z $1  ]; then
5DATE=`date  +%Y%m`
6else
7DATE=$1
8fi
9
10if [ ! -d /home/mandrake/save/$DATE ]; then
11        mkdir /home/mandrake/save/$DATE
12fi
13
14cd ~mandrake
15
16tar czf ~/save/$DATE/robot-$DATE.tar.gz robot/
17tar czf ~/save/$DATE/bin-$DATE.tar.gz bin/
18
19crontab -l > ~/save/$DATE/crontab
Note: See TracBrowser for help on using the repository browser.