From 8064bebb609d2f1c5cc5753cb55ea4055e62a9ea Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 28 Apr 2006 16:43:41 +0200 Subject: [PATCH] Cosmetic fix and problem with pax destination_dir destination_dir is ABSOLUTE and not relative! --- ccollect.sh | 4 ++-- doc/ccollect.text | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index 1f7e3b2..803f354 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -51,7 +51,7 @@ usage() echo " -v, --verbose: Be very verbose (uses set -x)." echo "" echo " This is version $VERSION, released on ${RELEASE}" - echo " (the first version was written on 2005-12-05 by Nico Schottelius)." + echo " (the first version was written on 2005-12-05 by Nico Schottelius)." echo "" echo " Retrieve latest ccollect at http://linux.schottelius.org/ccollect/" exit 0 @@ -356,7 +356,7 @@ while [ "$i" -lt "$no_shares" ]; do if [ "$last_dir" ]; then echo "$(date) Hard linking..." cd "$last_dir" - pax -rwl -p e $VVERBOSE . "../$destination_dir" + pax -rwl -p e $VVERBOSE . "$destination_dir" # old, gnu cp specific # cp -al $VVERBOSE "$last_dir" "$destination_dir" fi diff --git a/doc/ccollect.text b/doc/ccollect.text index 5f22118..7552e01 100644 --- a/doc/ccollect.text +++ b/doc/ccollect.text @@ -214,7 +214,7 @@ Detailled description of "source" For instance 'backup_user@foreign_host:/home/server/video'. To use the `rsync` protocol without the `ssh`-tunnel, use 'rsync::USER@HOST/SRC'. For more information have a look at the manpage -of `rsync`,`rsync`(1). +of `rsync`(1). Detailled description of "verbose"