##// END OF EJS Templates
ipy_leo improvements (%leo opens a file as @auto file)
ipy_leo improvements (%leo opens a file as @auto file)

File last commit:

r988:2f09c2ab
r990:63f85471
Show More
bkp.sh
22 lines | 451 B | application/x-sh | BashLexer
ville
initialization (no svn history)
r988 #!/bin/sh
# Simple backup script for ipython, to keep around a static copy of the whole
# project at the current version point. We do this by exporting from SVN.
# Config here
IPYTHONSVN=$HOME/ipython/svn/ipython/trunk
BACKUPDIR=$HOME/ipython/backup
####
# Code begins
IPVERSION=`ipython -Version`
IPX=ipython-$IPVERSION
ARCHIVE=$BACKUPDIR/$IPX.tgz
svn export $IPYTHONSVN $IPX
tar czf $ARCHIVE $IPX
rm -rf $IPX
echo "Backup left in: $ARCHIVE"