DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Mirror A Directory Between My "old" And "new" Web Server/ftp

04.02.2009
| 3120 views |
  • submit to reddit
        On Local (new) server
rsync -zavurR --delete --links --rsh="ssh -p <porta> -l <user>" old.server.tld:/remote/directory /