We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
| Hack: |
|
Using rsync over ssh
|
| Subject: |
|
Deleting folders on remote host |
| Date: |
|
2004-06-07 01:50:52 |
| From: |
|
saber_z
|
|
|
hi ,I'm synchronizing two accounts using rsync ,
i noticed that when i delete a folder from Host A then run rsync to have the same folder tree on host B , the result is that folders that i deleted on Host A are empty on Host B but not deleted ?!?
here is the command line :
# update www account from solaris station
rsync -e ssh -arvup
--delete
--include ".*rc"
--exclude ".*"
--exclude ".*/"
--exclude "tmp/"
--exclude "public_html/"
~/ www:~/
I'm i missing something ?
Many thanks.
--
Saber.
|