Displaying 1 result from an estimated 1 matches for "apog".
Did you mean:
apag
2003 Oct 28
1
can't manage to get --link-dest working.
Hi,
I can't manage to get rsync's --link-dest option working.
Here is a step by step script which doesn't produce the good results.
# create test dir
mkdir testrsync
cd testrsync
mkdir orig
echo "abcd" > orig/testfile
# create a mirror
rsync -apog orig/ mirror/
# create another mirror using link-dest
rsync -apog --link-dest=mirror/ orig/ mirror2/
# look at inodes
ls -li mirror/
ls -li mirror2/
The inodes differs, even if timestamps, modes and size contents don't.
What's wrong ?
I'm running linux-2.6 (but I don't think th...