Coder Social home page Coder Social logo

rsync and special chars about wordmove HOT 9 CLOSED

welaika avatar welaika commented on May 18, 2024
rsync and special chars

from wordmove.

Comments (9)

Arkham avatar Arkham commented on May 18, 2024

Hello there, I've added the possibility to add a rsync_options to the ssh section of the Movefile, so that you can customize the rsync behaviour as you like.

Feel free to ping me if there are issues!

from wordmove.

felixfischer avatar felixfischer commented on May 18, 2024

It works! Thank you very much.

But now I get an error when I don't set any rsync_options:

Unexpected remote arg: :/srv/www/mysite/webroot/
rsync error: syntax or usage error (code 1) at main.c(1284) [sender=3.0.9]

I think the problem is that two single quotes are inserted in the rsync command (instead of nothing)

from wordmove.

alessandro-fazzi avatar alessandro-fazzi commented on May 18, 2024

Have you commented out the option or just left it without args?

from wordmove.

felixfischer avatar felixfischer commented on May 18, 2024

I deleted it.

from wordmove.

Arkham avatar Arkham commented on May 18, 2024

I think I've solved the issue, try with gem install photocopier and try again :)

from wordmove.

felixfischer avatar felixfischer commented on May 18, 2024

Yes, that fixed it. Thanks!

from wordmove.

felixfischer avatar felixfischer commented on May 18, 2024

Sorry to bother you again, but there still seems to be a problem: While pulling uploads with -u works fine, it fails to pull the database (-d). This is the message I get:

/path/to/gems/net-ssh-2.6.8/lib/net/ssh.rb:168:in `start': invalid option(s): rsync_options (ArgumentError)

It does work fine if I comment out the rsync_options line.

from wordmove.

Arkham avatar Arkham commented on May 18, 2024

Oops, my bad! Try again with gem install photocopier :)

from wordmove.

felixfischer avatar felixfischer commented on May 18, 2024

Works. Thank you!

from wordmove.

Related Issues (20)

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.