[CentOS] Recommendation for HTML editor (a better approach?)

Wed Sep 21 03:16:08 UTC 2005
Les Mikesell <lesmikesell at gmail.com>

On Tue, 2005-09-20 at 21:16, Dave Gutteridge wrote:

> What I'm wondering now is if what I should do is mirror the directory
> structure I have on my host here at home. Then I can do all my editing,
> and serve and test everything at home pretty much exactly as it will be
> served from the host. And then when I'm happy with my updates, to upload
> it to my server.

cd into the top directory to copy and:
rsync -essh -av . target_host:/target_dir
  Add -z for compression if the connection is slow.
  Using '.' as the source removes any question about whether it
  will create an extra subdirectory at the target.
-- 
  Les Mikesell
    lesmikesell at gmail.com