Zsh Mailing List Archive
Messages sorted by:
Re: Keeping dot files in sync
- X-seq: zsh-users 12620
- From: "Anonymous bin ich" <ichbinanon@xxxxxxxxx>
- To: "Thorsten Kampe" <thorsten@xxxxxxxxxxxxxxxx>
- Subject: Re: Keeping dot files in sync
- Date: Mon, 18 Feb 2008 05:14:47 +0100
- Cc: zsh-users@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=HEDaBI5dQDgcYMtnXBolUFkOWyxNlIhJtcHUcwT/kXI=; b=KuXTZumHJsxjzhqWq/29bJufdrRpiJXDjR7orI58blDWKruleDNBM3m/+p9SrIIF1yo7OfDuXisJKAnkxsc21iBce4ZLX+YVydlG7jBnvo/+syw8zrSWm6W8BKMzIZpL9EfgJ5wL3aMV3+F3xdfQWmWf8D626baTqAGj6eSct4k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P8ABFckMfi0BPW1lLbb2tuRTKlpk1rZdlcsrCiOkw2E/c0ZNhoXkojaTou8x/PEi67ophiYISbaMBDCzD3asTs96bsALmt23F82JZyCxQbrU80daEw1oDCJ/fO4Ep0ulyyIelWzF1HpE9VM31bK1DKbE/kewWzNpnX6aOtMePpI=
- In-reply-to: <fpavba$q3r$1@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <fpai3h$qrb$1@xxxxxxxxxxxxx> <080217174550.ZM10147@xxxxxxxxxxxxxxxxxxxxxx> <fpavba$q3r$1@xxxxxxxxxxxxx>
On Feb 18, 2008 4:51 AM, Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx> wrote:
> * Bart Schaefer (Sun, 17 Feb 2008 17:45:50 -0800)
> > On Feb 18, 12:05am, Thorsten Kampe wrote:
> > } I've got a central computer where I mainly work and do my .zshrc
> > } changes. I need a program to propagate these changes to the other
> > } computers (mainly virtual machines) to have the same zsh configuration
> > } there.
> > }
> > } Unfortunately my main workstation and the other PCs are not directly
> > } connected (otherwise I'd simply rsync the changes).
> > rsync -e ssh ...
> As I said: no rsync, no ssh on the Internet server, only http and ftp.
> > } Does anyone know of an application (Revision control or something
> > } similar) that does this kind of task or assists in it?
> > I use CVS for this; SVN or just about any revision control system
> > with networking support ought to do fine.
> Can't be done when there is no CVS or SVN at the side where you want
> to upload.
> I figured out that sitecopy is probably the best choice:
> 1. I symlink all the files I want to synchronize into an empty
> directory ("ln -s ~/.zshrc ~/.sitecopy/sync/.zshrc"), then
> 2. I sync this directory to the WebDAV server ("sitecopy -u mysite")
> 3. Sync from the WebDAV server on the remote side into
> ~/.sitecopy/sync: "sitecopy -f mysite && sitecopy -s mysite"
> (can't use ~ (the real target) because sitecopy would delete all the
> other files in ~)
> 4. and then rsync all the files from ~/.sitecopy/sync to ~
>  http://www.manyfish.co.uk/sitecopy/why.html
I used to use SVN for this purpose, though I have my home directory
mounted as NFS over a network. Recently I have switched to git. Here
is what I think can be done.
1) Create a remote directory. In this case, it is created in my /tmp
directory, or anywher. I just want to create a barebone repository.
2) Push everything to this repository.
3) upload this directory to your server
This will in effect create a remote repository. You have to do it only
once. Then add this http repository as remote. Now you can push and
pull all you want.
It probably needs webdav support. But I guess you have it already.
Messages sorted by: