Skip to content
Snippets Groups Projects
Commit 275c7b9c authored by Teddy Kossoko's avatar Teddy Kossoko
Browse files

Update README.md

parent dac63e0c
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ This script is used to interact with the esa maap s3. ...@@ -5,7 +5,7 @@ This script is used to interact with the esa maap s3.
The script is by default in the stack thei and Jupyter. The script is by default in the stack thei and Jupyter.
But there are some differences. But there are some differences.
**Theia** ****Theia****
The shebang of the script must be replace by #!/usr/local/bin/python The shebang of the script must be replace by #!/usr/local/bin/python
**Jupyter** **Jupyter**
...@@ -17,7 +17,7 @@ The script provide following features: ...@@ -17,7 +17,7 @@ The script provide following features:
To see all options run maap-s3.py help To see all options run maap-s3.py help
upload used to push the data to S3 **upload used to push the data to S3**
param 1: sourceFile param 1: sourceFile
ex: /projects/test/toto.txt ex: /projects/test/toto.txt
param 2: s3 destination path param 2: s3 destination path
...@@ -26,29 +26,29 @@ To see all options run maap-s3.py help ...@@ -26,29 +26,29 @@ To see all options run maap-s3.py help
resume use to continue a failed multipart previous upload. When your file is more than 5Giga, the python script use multipart upload. During the process, if the upload fails, please run resume without parameter to continue the upload. resume use to continue a failed multipart previous upload. When your file is more than 5Giga, the python script use multipart upload. During the process, if the upload fails, please run resume without parameter to continue the upload.
download to download a data from S3 **download to download a data from S3**
param 1: s3 path param 1: s3 path
ex: bmap-catalogue-data/bmaap_test/demo/maap.tiff ex: bmap-catalogue-data/bmaap_test/demo/maap.tiff
param 2: Workspace destination path param 2: Workspace destination path
ex: /projects/test/maap.tiff ex: /projects/test/maap.tiff
exemple: maap-s3.py download bmap-catalogue-data/bmaap_test/tkossoko/maap.tiff /projects/test/maap.tiff exemple: `maap-s3.py download bmap-catalogue-data/bmaap_test/tkossoko/maap.tiff /projects/test/maap.tiff`
list to list a folder from S3 **list to list a folder from S3**
param 1: s3 bucket folder param 1: s3 bucket folder
ex: bmap-catalogue-data/bmaap_test/demo ex: bmap-catalogue-data/bmaap_test/demo
exemple: maap-s3.py list bmap-catalogue-data/bmaap_test/demo exemple: `maap-s3.py list bmap-catalogue-data/bmaap_test/demo`
delete to delete a file from S3 **delete to delete a file from S3**
param 1: s3 file path param 1: s3 file path
ex: bmap-catalogue-data/bmaap_test/demo/maap.tiff ex: bmap-catalogue-data/bmaap_test/demo/maap.tiff
exemple: s3 delete bmap-catalogue-data/bmaap_test/demo/hello-bjorn.txt exemple: `maap-s3 delete bmap-catalogue-data/bmaap_test/demo/hello-bjorn.txt`
refresh to reset credentials and passwords when init fails because you type wrong password or email. **refresh to reset credentials and passwords when init fails because you type wrong password or email.**
exemple: maap-s3.py refresh exemple: `maap-s3.py refresh`
**1- How to use the script ? ** **1- How to use the script ? **
To call the script, just type maap-s3.py in the console. To call the script, just type` maap-s3.py help` in the console.
Typing maap-s3.py help will show all options available and parameters Typing maap-s3.py help will show all options available and parameters
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment