##// END OF EJS Templates
cd completer fixed to deal (partially) with dir names that have spaces in them (broken on win32)
cd completer fixed to deal (partially) with dir names that have spaces in them (broken on win32)

File last commit:

r314:fe5fa758
r481:f1e7b670
Show More
bkp.sh
22 lines | 451 B | application/x-sh | BashLexer
#!/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"