Cosmetic fix and problem with pax destination_dir

destination_dir is ABSOLUTE and not relative!
This commit is contained in:
Nico Schottelius 2006-04-28 16:43:41 +02:00
parent 81df2e5a21
commit 8064bebb60
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ usage()
echo " -v, --verbose: Be very verbose (uses set -x)." echo " -v, --verbose: Be very verbose (uses set -x)."
echo "" echo ""
echo " This is version $VERSION, released on ${RELEASE}" 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 ""
echo " Retrieve latest ccollect at http://linux.schottelius.org/ccollect/" echo " Retrieve latest ccollect at http://linux.schottelius.org/ccollect/"
exit 0 exit 0
@ -356,7 +356,7 @@ while [ "$i" -lt "$no_shares" ]; do
if [ "$last_dir" ]; then if [ "$last_dir" ]; then
echo "$(date) Hard linking..." echo "$(date) Hard linking..."
cd "$last_dir" cd "$last_dir"
pax -rwl -p e $VVERBOSE . "../$destination_dir" pax -rwl -p e $VVERBOSE . "$destination_dir"
# old, gnu cp specific # old, gnu cp specific
# cp -al $VVERBOSE "$last_dir" "$destination_dir" # cp -al $VVERBOSE "$last_dir" "$destination_dir"
fi fi

View file

@ -214,7 +214,7 @@ Detailled description of "source"
For instance 'backup_user@foreign_host:/home/server/video'. For instance 'backup_user@foreign_host:/home/server/video'.
To use the `rsync` protocol without the `ssh`-tunnel, use To use the `rsync` protocol without the `ssh`-tunnel, use
'rsync::USER@HOST/SRC'. For more information have a look at the manpage 'rsync::USER@HOST/SRC'. For more information have a look at the manpage
of `rsync`,`rsync`(1). of `rsync`(1).
Detailled description of "verbose" Detailled description of "verbose"