Author: Miguel Medeiros
This project helps you to transfer all files from a specific folder on your machine to a Bucket on AWS S3.
Install all the dependencies:
npm install
or yarn install
Configure the file: ./config.json
{
"bucketName": "name-of-your-bucket",
"accessKeyId": "XXXXXXXXXXXXXXXXXX",
"secretAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"region": "us-east-1",
"folder": "images"
}
npm start
And if you want to sync all files:
npm run sync-all
yarn start
And if you want to sync all files:
yarn sync-all
You can watch all the log information in the file: ./cheese.log
If you like it, you can pay me a beer! 🍺
Bitcoin: 18kXMmrDtgfeQgVmwfmygTaYLyQuVS4chK