Re: Automation Sans Window Server
Re: Automation Sans Window Server
- Subject: Re: Automation Sans Window Server
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 16 Apr 2008 16:07:02 -0400
On Wed, Apr 16, 2008 at 3:56 PM, Philip Aker <email@hidden> wrote:
> On 08-04-16, at 06:07, Mark J. Reed wrote:
> >make many things easier. For instance, I use rsync to keep a local copy of
> >my website in synch with the copy on my server.
> >The transport used by rsync to communicate between the servers is ssh.
> That's my major usage.
Then you can simply do:
export RSYNC_RSH=ssh
# setenv RSYNC_RSH ssh # if using [t]csh
rsync -avz myname@myserver:/path/to/website/docroot local/copy/of/docroot
to download a local copy of what's currently on the server, or
rsync -avz local/copy/of/docroot myname@myserver:/path/to/website/docroot
to update the server with changes you've made in the local copy. In
each case rsync will automatically transfer only the files that have
changed since the last copy.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden