Git Product home page Git Product logo

osstos3's Introduction

OssToS3

OssToS3 is a free data transfer tool for transfering file and folders from OSS (Alibaba Cloud Object Storage Service) to S3 (Amazon Simple Storage Service). This package or tool is build on Go ( Go is a statically typed, compiled programming language designed at Google). The main advantage is that it runs in windows/linux/mac without extra dependencies

Setting Up And Running

  • Clone or download the project from the github repository
  • Set up the s3 and oss configuration in the config.toml in the project root folder
# This is a TOML document.
[oss]
endpoint = "oss-ap-xxxx-5.aliyuncs.com" 
accesskeyid = "XxXXXXXxXXXxxxXx" 
secretaccesskey = "XxXNxXxNxXXxxXxxxxxxxxXXXLXxxX" 
bucket = "bucket-name" 

[s3]
region = "ap-xxxx-1" 
accesskeyid = "XXXNXXXNXXNNXXN" 
secretaccesskey = "XNXNxxNXnXnnXNXNXnxnnnxXnXnX" 
bucket = "bucket-name" 
token=""
  • macOS/Linux:

In case of macOS/Linux,open terminal and go to the project-directory. Inside the project directory there will be an executable file osstos3.Execute osstos3 after configuring the config.toml. If there is any error in the configuration it will be be printed in the terminal.

$ cd project-directory
$ ./osstos3
  • Windows:

In case of windows,open cmd and go to the project-directory. Inside the project directory there will be an executable file osstos3.exe.Execute osstos3.exe after configuring the config.toml. If there is any error in the configuration it will be be printed in the terminal.

cd C:\download-path\project-directory
start osstos3.exe

If you have already installed GO in your system, you can also run by specifying the go run command. All you have to do is go the project directory and and follow the below commands.Then go run command execute the main function in the osstos3.go file.

$ cd project-directory
$ go run osstos3.go

Configuring Go and Taking Build for Different Operating System

The GO executable can be create not only for Mac,Linux and Windows but also for other platforms like android,darwin,freebsd and many more.You can visit the offical GO documentation link by clicking here and setup for you own system. The documentation by digital ocean have also mentioned easy methods for building and installing Go programs for different platform.

License

osstos3's People

Contributors

itsrahul-ab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

javison666

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.