GithubHelp home page GithubHelp logo

doubledown's Introduction

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 [email protected]

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. See http://docs.devstructure.com/working_remotely for more options.

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.

doubledown's People

Contributors

rcrowley avatar adamv avatar ekarulf avatar

Stargazers

Bryan Helmkamp avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.