rsync -u and --ignore-existing options don't work

From: raver (barbara_ries_at_hotmail.com)
Date: 11/05/03


Date: 5 Nov 2003 12:44:56 -0800

rsync serv: aix 4.3.3 ML11
client I am testing with: aix 4.3.3 ML11

I have an rsync server supplying files for the /usr/local
directory structure. When a client runs rsync it pulls over
several /usr/local directories and links are created in
/usr/local/bin to where the binaries actually reside.

Occasiionally, I want to drop a binary in /usr/local/bin
and not have rsync write over it with a link to the rsync
distribution. For example, I dropped a newer gzip binary
in /usr/local/bin and thought because the client ran rsync
with the -u option, it would not write over the newer binary,
but it did - and it re-created the symlink over to the rsync
distribution binary.

I compiled rsync v2.5.6 and tried using the --ignore-existing
to no avail - it still wrote over the newer binary I dropped
into /usr/local/bin

Is there a config or command option I am missing? I do not want
to have to write special "exclude" options into the rsync command
everytime a newer piece of software is put on a machine.

Does anyone have a solution or a command option that, perhaps,
I have overlooked?

Thanks!
-BR



Relevant Pages

  • Re: ~500 megs cached yet 2.6.5 goes into swap hell
    ... >> seconds to change focus from one window to another. ... client and server, and is modified on the client, the rsync client will ... and inactive lists. ...
    (Linux-Kernel)
  • Re: ~500 megs cached yet 2.6.5 goes into swap hell
    ... >> client and server, and is modified on the client, the rsync client will ... > to use the rsync algorithm but just transfer the whole file. ... If the big dd indeed does not cause swapout, ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: counterintuitive results: my rsync is faster via NFS than direct daemon
    ... For the first instance, rsync is running as two separate processes - ... one on the client and one on the server - and they can work in parallel ... your two servers are using synchronised time the timestamp comparison ...
    (comp.os.linux.misc)
  • Re: rsync server on SCO 5.0.,7
    ... rsync server on SCO 5.0.,7 ... client rsync command line uses either an absolute path, or a path relative to the users home dir on the server ...
    (comp.unix.sco.misc)
  • Re: Detect a file upload, can I?
    ... > Thank you for your response. ... The client wants to push, not pull, ... please tell me how rsync can help me with my ... rsync is to reduce the bandwidth of the file transfer and not trigger ...
    (comp.security.ssh)