Hi,

I wanted to clarify.

In manpage for rdist I see that we can use option -o remove .
remove  Remove extraneous files.  If a directory is being
                     updated, any files that exist on the remote host that do
                     not exist in the master directory are removed.  This is
                     useful for maintaining truly identical copies of
                     directories.
However, this seems to be the default anyway.

If I specify "install /tmp/" and try to copy /tmp/test.file all the files in 
/tmp/
on the remote host will be wiped out and only test.file will remain there
after copy. 
This behaviour seems to fit with "directory update" feature of "remove" (like 
if we do "install -o remove /tmp/"). Yet, "remove" was not specified above.

Is my understanding of default behaviour correct?  This how it supposed to be 
working? 

Reply via email to