- Make virtual enviroment and install python requirements
make setup
- Create a
.boto
config file in your home directory with the following content
[Credentials]
aws_access_key_id = <your aws access key id>
aws_secret_access_key = <your aws secret access key>
- Run the commands by:
- Sync folder to bucket -
make aws ARGS="-f <bucket name> <root folder>"
- Sync bucket to folder -
make aws ARGS="-b <bucket name> <root folder>"
- Delete file in bucket -
make aws ARGS="-d <bucket name> <file path>"
- Restore file in bucket -
make aws ARGS="-r <bucket name> <file path>"
- Sync folder to bucket -