Cosmetic changes
This commit is contained in:
parent
083b5e4d06
commit
bc51517bd8
2 changed files with 11 additions and 7 deletions
15
ccollect.sh
15
ccollect.sh
|
@ -14,9 +14,10 @@ CPREEXEC="$CDEFAULTS/pre_exec"
|
||||||
CPOSTEXEC="$CDEFAULTS/post_exec"
|
CPOSTEXEC="$CDEFAULTS/post_exec"
|
||||||
|
|
||||||
TMP=$(mktemp /tmp/$(basename $0).XXXXXX)
|
TMP=$(mktemp /tmp/$(basename $0).XXXXXX)
|
||||||
WE=$(basename $0)
|
|
||||||
VERSION=0.3.1
|
VERSION=0.3.1
|
||||||
RELEASE="2006-XX-XX"
|
RELEASE="2006-XX-XX"
|
||||||
|
HALF_VERSION="ccollect $VERSION"
|
||||||
|
FULL_VERSION="ccollect $VERSION ($RELEASE)"
|
||||||
|
|
||||||
#
|
#
|
||||||
# unset parallel execution
|
# unset parallel execution
|
||||||
|
@ -40,11 +41,9 @@ add_name()
|
||||||
#
|
#
|
||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
echo "$WE: <intervall name> [args] <sources to backup>"
|
echo "$(basename $0): <intervall name> [args] <sources to backup>"
|
||||||
echo ""
|
echo ""
|
||||||
echo " Nico Schottelius (nico-linux-ccollect schottelius.org) - 2005-12-06"
|
echo " ccollect creates (pseudo) incremental backups"
|
||||||
echo ""
|
|
||||||
echo " Backup data pseudo incremental"
|
|
||||||
echo ""
|
echo ""
|
||||||
echo " -h, --help: Show this help screen"
|
echo " -h, --help: Show this help screen"
|
||||||
echo " -p, --parallel: Parellize backup process"
|
echo " -p, --parallel: Parellize backup process"
|
||||||
|
@ -53,7 +52,9 @@ usage()
|
||||||
echo ""
|
echo ""
|
||||||
echo " Retrieve latest ccollect at http://linux.schottelius.org/ccollect/."
|
echo " Retrieve latest ccollect at http://linux.schottelius.org/ccollect/."
|
||||||
echo ""
|
echo ""
|
||||||
echo " Version: $VERSION ($RELEASE, Grey Sunday Release)"
|
echo " Version: $FULL_VERSION"
|
||||||
|
echo ""
|
||||||
|
echo " Initial Version written on 2005-12-06 by Nico Schottelius"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -146,7 +147,7 @@ fi
|
||||||
if [ "$no_shares" -lt 1 ]; then
|
if [ "$no_shares" -lt 1 ]; then
|
||||||
usage
|
usage
|
||||||
else
|
else
|
||||||
echo "==> $WE: Beginning backup using intervall $INTERVALL <=="
|
echo "==> $HALF_VERSION: Beginning backup using intervall $INTERVALL <=="
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
3
doc/TODO
3
doc/TODO
|
@ -1,3 +1,6 @@
|
||||||
|
- update documentation:
|
||||||
|
- exit pre/post exec -> error codes (after implementation!)
|
||||||
|
- summary support -> release 0.3.1
|
||||||
- write mkccollectconfig
|
- write mkccollectconfig
|
||||||
o create source configuration
|
o create source configuration
|
||||||
o another script for changing defaults
|
o another script for changing defaults
|
||||||
|
|
Loading…
Reference in a new issue