rsync question
Hi,
I'm in the middle of do the rsync and I found out that the
symbolic link from main/binary-i386/.../.../some-file
to main/binary-all/.../.../some-file were actual the
two same files. They are not symlinked. Therefore, my
harddrive is filled up very fast. Could someone help?
TIA.
Enclosed is the script that I used to do the rsync.
---
tcp
------------------ my rsync.sh -------------
#! /bin/sh
set -e
#DEBUG=--dry-run
DEBUG=
TO=/home/debian
RSYNC_HOST=rsync://debian.m
RSYNC_DIR=debian/dists/pota
cd $HOME
umask 002
set +e
rsync \
--recursive \
--links \
--times \
--verbose \
--compress \
--archive \
--relative \
--copy-unsafe-links \
--delete \
--delete-excluded \
--stats \
--progress \
--partial \
--exclude "Archive-Update-in-Progress-`hostname -f`" \
--exclude "project/trace/`hostname -f`" \
--exclude="Contents-alpha.gz" \
--exclude="Contents-arm.gz" \
--exclude="Contents-m68k.gz" \
--exclude="Contents-powerpc.gz" \
--exclude="Contents-sparc.gz" \
--exclude="binary-alpha/" \
--exclude="binary-arm/" \
--exclude="binary-m68k/" \
--exclude="binary-powerpc/" \
--exclude="binary-sparc/" \
--exclude="disks-alpha/" \
--exclude="disks-arm/" \
--exclude="disks-m68k/" \
--exclude="disks-powerpc/" \
--exclude="disks-sparc/" \
--exclude="source/" \
$DEBUG \
$RSYNC_HOST$RSYNC_DIR $TO > rsync.log 2>&1
---------------
Reply to: