--delete not working
John Van Essen
vanes002 at umn.edu
Mon Mar 12 13:16:16 MDT 2012
Aren't you missing something in your rsync command? (Hint: subject line)
On Mar 12, 2012, at 14:00, Salatiel Filho wrote:
> Hi guys , i need some help. I am trying to make a full sync of two of
> my servers. But i noticed a very odd thing.
> If i create a directory , for example
> /usr/include/SOME_FOLDER/some_file on server2
> when i do :
> root at server1 #$ rsync -avhH --exclude proc/ --exclude sys/ --exclude
> dev/ / root at server2:/
> after the whole sync, the
> /usr/include/SOME_FOLDER/some_file will still be in the server2. Why
> ? Shouldn't be deleted ?
> thanks in advance.
More information about the rsync