Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] rsync syntax
  • From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
  • Date: Sun, 24 Dec 2006 21:53:29 +0100 (MET)
  • Message-id: <Pine.LNX.4.61.0612242152310.16427@xxxxxxxxxxxxxxx>

>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/).
>I'm sure there are many people on this list who know how to do this. I *sort
>of* know since I use rsync locally on a daily basis. However, the 'live' site
>lives on a production box and just don't feel like experimenting. :-) Any
>recommendations/advice on the correct syntax to use with rsync?

What, care to read its manpage?

-PHSav is a good thing, the rest is up to you! cron is your friend, and
pay attention to rsync directory syntax (you want `rsync -PHSav
~/public_stuff/ master:~/www/`, with trailing slashes)

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

< Previous Next >
Follow Ups