Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] rsync syntax
  • From: Mike Noble <mgnoble@xxxxxxxxx>
  • Date: Sun, 24 Dec 2006 13:53:47 -0800
  • Message-id: <200612241353.47448.mgnoble@xxxxxxxxx>
On Sunday 24 December 2006 12:23, Carl Hartung wrote:
> Hi All,
>
> I need to start synchronizing a 'live' website, nightly, with the 'master'
> copy residing under ~/public_html/ on my local box.
>
> I have user account level ssh access to the server and, when I log in, it
> 'lands' me at /home/user/ ('~/'), directly above the 'live' website
> directory at ~/public_html/ (is symlinked to ~/www/).
>

rsync -a -e ssh --delete <path to ~>/public/ <remote machine>:/home/user/www

HTH
Mike
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References