1.0.30 • Published 1 year ago

@omarmciver/azurestoragesync v1.0.30

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.

1.0.29

1 year ago

1.0.28

1 year ago

1.0.30

1 year ago

1.0.27

1 year ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.10

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago