Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Merge pull request #12 from wesyah234/master

Please consider this small change.. .I just overwrote my existing authorized_keys file.  This change will prevent that.  Thanks
latest commit 4db787df3d
Richard Crowley rcrowley authored June 22, 2013
Octocat-spinner-32 bin Always use the system Ruby. September 30, 2010
Octocat-spinner-32 man Rebuild manual. December 31, 2011
Octocat-spinner-32 .gitignore Linux build system. September 22, 2010
Octocat-spinner-32 HACKING Linux build system. September 22, 2010
Octocat-spinner-32 LICENSE LICENSE August 16, 2010
Octocat-spinner-32 Makefile New build tools. June 25, 2011
Octocat-spinner-32 README.md Update README.md March 26, 2013
Octocat-spinner-32 control.m4 v0.0.2 September 22, 2010
README.md

doubledown(1) -- sync local changes to a remote directory

SYNOPSIS

doubledown [-i identity] local [user@]server:remote

DESCRIPTION

doubledown brings local and remote on server into sync and then executes doubledown-fsevents(1) to watch local for changes.

An ssh-agent(1) is started if one cannot be found. Because doubledown will connect to server many times over its life, you must use an SSH key pair to authenticate. If you have not created an SSH key pair, do so with the following commands:

ssh-keygen -t rsa -b 2048 -f $HOME/.ssh/id_rsa
ssh <server> "echo $(cat $HOME/.ssh/id_rsa.pub) >>.ssh/authorized_keys"

When doubledown is run, rsync(1) is used to first download all files in remote on server that do not exist in local, thus no local changes will be clobbered. It then uploads any local changes. Finally, it executes doubledown-fsevents(1).

OPTIONS

  • -i identity: Use a non-standard identity (private key). Analogous to the -i option to ssh(1).
  • -h, --help: Show a help message.

THEME SONG

The Arcade Fire - "The Suburbs"

AUTHOR

Richard Crowley richard@devstructure.com

SEE ALSO

doubledown was written to make it easier for DevStructure users to use Textmate and other IDEs but it's far from the only way to skin the cat.

doubledown-fsevents(1) watches a directory and relays changes. It is called by doubledown.

The source code for doubledown is available at http://github.com/devstructure/doubledown.

Something went wrong with that request. Please try again.