diff --git a/HOW_IT_LOOKS_LIKE_WHEN_YOU_SAVE_SPACE b/SAVING.SPACE similarity index 65% rename from HOW_IT_LOOKS_LIKE_WHEN_YOU_SAVE_SPACE rename to SAVING.SPACE index ff7bf23..8cb141a 100644 --- a/HOW_IT_LOOKS_LIKE_WHEN_YOU_SAVE_SPACE +++ b/SAVING.SPACE @@ -9,3 +9,9 @@ Hard links are such a nice thing ;-) 4.1M /home/nico/backupdir/daily.2005-12-08-10:53.28531 4.1M /home/nico/backupdir/daily.2005-12-08-10:53.28554 4.1M /home/nico/backupdir/daily.2005-12-08-10:53.28577 + +srwali01:/etc/ccollect/sources# du -sh /mnt/hdbackup/wl6/ +186M /mnt/hdbackup/wl6/ +srwali01:/etc/ccollect/sources# du -sh /mnt/hdbackup/wl6/* +147M /mnt/hdbackup/wl6/taeglich.2005-12-08-14:42.312 +147M /mnt/hdbackup/wl6/taeglich.2005-12-08-14:45.588 diff --git a/release.sh b/release.sh index 0ea8952..a914fc4 100644 --- a/release.sh +++ b/release.sh @@ -1,6 +1,15 @@ NAME=$1 +TARNAME=${NAME}.tar.bz2 -tar cvfj ${NAME}.tar.bz2 \ +DHOST=nico@creme.schottelius.org +DDIR=www/org/schottelius/linux/ccollect/ +DESTINATION="$DHOST:$DDIR" + +tar cvfj "$TARNAME" --exclude=.git \ --exclude="conf/sources/*/destination/*" \ "$NAME" + +scp "${TARNAME}" "$DESTINATION" + +ssh "$DHOST" "( cd $DDIR; tar xfj \"$TARNAME\" )"