Code Monkey home page Code Monkey logo

azurestoragesync's Introduction

Azure Storage Sync

Azure Storage Sync is a Node.js package designed to synchronize files between a local file system and Azure Blob Storage. Works on linux and windows filesystems.

View at npmjs.com

Features

  • Real-time synchronization from local file system to Azure Blob Storage.
  • Supports multiple directories and corresponding Azure Blob containers to a single Azure Storage Account using an access key.
  • Change detection based on last modified date.
  • Easy configuration and setup.

Installation and Usage

Global installation and usage:

npm install -g @omarmciver/azurestoragesync
azurestoragesync

On demand usage:

npx @omarmciver/azurestoragesync

NOTE: It will always use the config.json in the current working directory.

Configuration

To use Azure Storage Sync, create a configuration file (config.json) with your Azure Storage account details and the paths you want to synchronize.

The first time you run the script, it will create a config.json file in the current directory. Modify as required and then run the command again.

Example config.json

{
  "azureStorage": {
    "accountName": "your_account_name",
    "accessKey": "your_access_key"
  },
  "watchPaths": [
    {
      "localPath": "path/to/linux/dir",
      "containerPath": "alias1"
    },
    {
      "localPath": "d:\\path\\to\\windows\\dir",
      "containerPath": "alias2"
    }
    // ... more paths as needed
  ]
}

Contributing

Contributions are welcome! If you have a feature request or bug report, please open an issue on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

azurestoragesync's People

Contributors

omarmciver avatar dependabot[bot] avatar

Watchers

 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.