Giter VIP home page Giter VIP logo

gcs-diff's Introduction

gcs-diff

Simple diff viewer for Google Cloud Storage

install

Install from https://github.com/myoan/gcs-diff/releases

usage

❯ gcs-diff -help
Usage of gcs-diff:
  -b string
        backetname
  -conc int
        upload cuncurrency (default 4)
  -cred string
        credential path
  -dst string
        dst path to compare
  -src string
        src path to compare

example

❯ gcs-diff -b example-storage -cred credential.json -src assets1 -dst assets2
---------------------------------------------
bucket:      example-storage
credential:  credenital.json
source:      assets1
destination: assets2
---------------------------------------------

+ gs:/example-storage/assets1/only2.txt
- gs:/example-storage/assets2/only1.txt
~ gs:/example-storage/assets1/samename.txt
  • +: means does not exist in src dir, but exists dst dir
  • -: means exists in src dir, but does not exist dst dir
  • ~: means exist both dir, but CRC32C is changed
  • (not output): means exist both dir, and same CEC32C

gcs-diff's People

Contributors

myoan avatar

Watchers

 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.