Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]rsync question
- To: tlug@example.com
- Subject: rsync question
- From: "Jean-Christian Imbeault" <jean_christian@example.com>
- Date: Thu, 29 Mar 2001 06:51:48 -0000
- Content-Type: text/plain; format=flowed
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <g2YH-D.A.1zB.Mutw6@example.com>
- Resent-Sender: tlug-request@example.com
I've installed and started rsync to synchronize two web servers. However I am having some trouble getting the proper syntax down. I've tried the following command: rsync -avzr --delete home/httpd/html 10.0.1.53:/home/httpd/html But find that this causes all the files to be deleted and then uploaded again. If I remove the --delete option I find that all the files are uploaded, even ones that already exist on the destination server. However if I add a trailing /* and / to the dir names I have no problems, as in: rsync -avzr --delete home/httpd/html/* 10.0.1.53:/home/httpd/html/ Can someone enlighten me on the proper usage of trailing slashes, and * in rsync commands? Jc _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Home | Main Index | Thread Index
- Prev by Date: Linux 2.4 VFS
- Next by Date: binding keys in KDE
- Prev by thread: Linux 2.4 VFS
- Next by thread: binding keys in KDE
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links