Hi,

Has anybody encountered problems where rsync does not remove empty
directories on the destination side?  Or rather it complains:

        rmdir(home/blah) : Directory not empty

But on inspecting the directory is empty.  This has happened before,
notably when I moved a directory and then created a symlink to that
directory with the same name.  I believe the directory gets removed with
another rsync.

These are the command line switches:

                --archive               \
                --compress              \
                --owner                 \
                --relative              \
                --delete                \
                --delete-excluded       \
                --exclude-from=/var/BACKUP/rsync/exclude        \

Or, might it be something to do with the rsync version?

        james@orc $ rsync --version
        rsync version 2.3.2  protocol version 21

        Written by Andrew Tridgell and Paul Mackerras

What I suspect happens is that rsync tries to remove the directory
before the files inside are removed.  Is this correct?

By the by, I don't mean to be rude but there had been a lot of talk of
sticking with older versions to avoid problems.  Now that there is a new
version out is it worth upgrading?  

I don't have any real problems with the version I am using at the moment
(except on Solaris :-)) but questions might have more relevance if I was
using a current version, no?

Cheers James

-- 
James Jones, GMRS Software GmbH,
Innsbrucker Ring 159, 81669 Muenchen
tel: (089) 680792-30, fax: (089) 680792-92 
mailto:[EMAIL PROTECTED] http://www.gmrs.de

Reply via email to