Over-writing symlinks
Dale Whitfield
dale at 4drealtime.co.za
Thu Feb 7 12:46:43 GMT 2008
Hi,
I would like to avoid the following situation:
SRC has:
-rwxr-xr-x 1 root staff 1596328 2005-04-29 17:34 libc-2.3.3.so
-rw-r--r-- 1 root staff 193 2005-04-29 17:34 libc.so
lrwxrwxrwx 1 root staff 13 2007-02-05 15:06 libc.so.6 -> libc-2.3.3.so
DEST has:
-rwxr-xr-x 1 dale dale 1558836 2008-02-07 12:25 libc-2.3.6.so
-rw-r--r-- 1 dale dale 193 2008-02-07 11:46 libc.so
lrwxrwxrwx 1 dale dale 13 2008-02-07 11:42 libc.so.6 -> libc-2.3.6.so
If I run:
rsync --ignore-existing -avn SRC DEST
output shows the following is to be written to DEST
libc-2.3.3.so
libc.so.6 -> libc-2.3.3.so
How do I avoid libc.so.6 being over-written to point to an old lib?
Using Debian: rsync version 2.6.9 protocol version 29
Dale.
More information about the rsync
mailing list