GithubHelp home page GithubHelp logo

dropbox_diff's Introduction

dropbox_diff

Dropboxのバージョン履歴を指定して、その差分を出力するシェルスクリプトです。

使い方

$ ./dropbox_diff.sh ~/Dropbox/hello.txt

email-adress: [email protected]
password: 

*** Version list(Top is newest) ***
    3: Version3
    2: Version2
    1: Version1
Select( number  [o]pen  [h]elp  [q]uit )> 
`diff Version2 Version3`

--- /dev/fd/63	2012-10-09 01:38:29.000000000 +0900
+++ /dev/fd/62	2012-10-09 01:38:29.000000000 +0900
@@ -1 +1 @@
-hello world
+Hello, world!
  • 入力なし diff -u Version2 Version3
  • 3    diff -u Version2 Version3
  • 2    diff -u Version1 Version2
  • 1 3   diff -u Version1 Version3
  • 3 1   diff -u Version3 Version1
  • o    Dropboxのバージョン管理のページを開く(Webブラウザが起動)
  • h    helpを出力する
  • q    終了する

開発環境

  • MacBook Pro Retina
  • OSX 10.8.2
  • Dropbox v1.4.12
  • GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12)
  • git version 1.7.12.1

dropbox_diff's People

Contributors

4562448 avatar zarigani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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