GithubHelp home page GithubHelp logo

okasync's Introduction

OkaSync

やりたいこと

Sonyの電子ペーパーで論文を読むのに、WebDAVを使っている。電子ペーパーとWebDAVの間の同期は電子ペーパーは良きようにやってくれるようなのだが、論文はMacでも読むので、WebDAVとMacの同期もしたい。FinderはWebDAVビューアーとしては無能なので、ローカルにディレクトリをつくり、それと同期する。ローカルといいつつ、Dropbox上なので、Macを通して他のデバイスとも同期していることになる。
ということを既存のrsyncなどでやろうとしたら、コンフリクトしたときの処理がなくて不満だった。Dropboxはやってくれるので、WebDAVとDropboxが同期してくれればいいだけの話なのだが。というわけで、自分でつくろうとしてる。

現状

├── OkaSync.rb          :メインのやつ
├── OkaSync.xcodeproj   :Xcodeのやつ
├── README.md           :このファイル
└── include
    ├── fileIO.rb       :jsonの管理ファイルをいじるためのもの
    ├── initialize.rb   :初期設定をする
    ├── listdir.rb      :ディレクトリ構造を調べてjsonに入れる
    └── synchronize.rb  :同期のところ

To do and issues

  • If two same names exist but one is a directory and the other is not, then error occurs

注意

ファイルが消えたり上書きされても責任持てません。

okasync's People

Contributors

pn11 avatar

Watchers

James Cloos avatar  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.