[CentOS] Recommendation for HTML editor (a better approach?)
admin at homemachine.net
Thu Sep 22 09:10:01 UTC 2005
Les Mikesell wrote:
> 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.
I haven't used it but looks like what you want :)
More information about the CentOS