Coder Social home page Coder Social logo

gensync's People

Contributors

dgets avatar

Watchers

 avatar

gensync's Issues

Missing trailing-' in remote-shell command.

As was left off the last time this was being worked on, there is a problem in the current command-line assembly code. It is causing the following error: Missing trailing-' in remote-shell command.

The only place that the single ticks are used in the command line that is assembled is in the specification for ssh to find the secret keyring in a manually specified file. While it would not be a permanent fix, it may be possible to temporarily work around by using one that will be checked by default, or specifying in an ssh config file.

Code that assembles the command line follows:

RSYNC_FULL="$RSYNC $RSYNC_VERBOSE_OPTS --chmod=$RSYNC_CHMOD_OPTS "
RSYNC_FULL="${RSYNC_FULL}-e 'ssh -y -p 22 -i \"/sbbs/.ssh/id_rsa\"' "
RSYNC_FULL="${RSYNC_FULL}/sbbs ${RMTACCT}@${RMTHST}:${RMTHSTDIR}"

None of the expanded bits hold any internally single or double quoted strings.

Additional capabilities that would tie in somewhat easily

It would be good at some point to supplement this shell scripting with some other work that would be able to pull SQL dumps and other vital /var information that is updated on a daily basis, as well. It's hardly going to be the first thing on the plate here; replicating the filesystem (at this point for my BBS, but also configurable and expandable) is definitely the priority. In the future, though, this could be a great script to work with a bunch of different subsystems.

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.