Skip to content

Commit 6ee2ea7

Browse files
committed
Update backup script.
1 parent 59cc71e commit 6ee2ea7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sbin/backup

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@ PREFIX=`dirname $0`
44
PREFIX=`cd "$PREFIX/.." ; pwd`
55
SUBDIR=`basename $PREFIX`
66

7-
ARCHNAME=${SUBDIR}.tar.gz
7+
ARCHNAME=${SUBDIR}.tar.xz
88

99
RUNDIR=`pwd`
1010

1111
cd $PREFIX/.. || exit 1
1212

1313
PREFIX_BASE=`basename $PREFIX`
1414

15-
tar cvzf $ARCHNAME --exclude='*.svn' \
16-
--exclude='*.git' \
17-
--exclude='.*.swp' \
15+
tar cvJf $ARCHNAME --exclude='.*.swp' \
1816
--exclude='build' \
1917
--exclude='arch' \
18+
--exclude='neptune_cfd' \
2019
--exclude=$ARCHNAME \
2120
$PREFIX_BASE
2221

0 commit comments

Comments
 (0)