diff --git a/README.md b/README.md index 211b1b4..6a8ceb3 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ List the folder contents ```shell mdrs ls neurodata:/NIU/Repository/ -mdrs ls -p PW_OPEN_PASSWORD neurodata:/NIU/Repository/PW_Open/ +mdrs ls -p SHARING_PASSWORD neurodata:/NIU/Repository/PW_Open/ mdrs ls -r neurodata:/NIU/Repository/Dataset1/ mdrs ls -J -r neurodata:/NIU/Repository/Dataset1/ ``` @@ -80,7 +80,7 @@ Upload the file or directory ```shell mdrs upload ./sample.dat neurodata:/NIU/Repository/TEST/ mdrs upload -r ./dataset neurodata:/NIU/Repository/TEST/ -mdrs upload -r -s ./dataset neurodata:/NIU/Repository/TEST/ +mdrs upload -r --skip-if-exists ./dataset neurodata:/NIU/Repository/TEST/ ``` ### download @@ -90,8 +90,9 @@ Download the file or folder ```shell mdrs download neurodata:/NIU/Repository/TEST/sample.dat ./ mdrs download -r neurodata:/NIU/Repository/TEST/dataset/ ./ -mdrs download -p PW_OPEN_PASSWORD neurodata:/NIU/Repository/PW_Open/Readme.dat ./ -mdrs download -r --exclude /NIU/Repository/TEST/dataset/skip neurodata:/NIU/Repository/TEST/dataset/ ./ +mdrs download -p SHARING_PASSWORD neurodata:/NIU/Repository/PW_Open/Readme.dat ./ +mdrs download -r --exclude /NIU/Repository/TEST/dataset/skip neurodata:/NIU/Repository/TEST/dataset/ ./ +mdrs download -r --skip-if-exists neurodata:/NIU/Repository/TEST/dataset/ ./ ``` ### mv @@ -128,7 +129,7 @@ Change the folder access level ```shell mdrs chacl private neurodata:/NIU/Repository/Private mdrs chacl cbs_open -r neurodata:/NIU/Repository/CBS_Open -mdrs chacl pw_open -r -p PW_OPEN_PASSWORD neurodata:/NIU/Repository/PW_Open +mdrs chacl pw_open -r -p SHARING_PASSWORD neurodata:/NIU/Repository/PW_Open ``` ### metadata @@ -137,7 +138,7 @@ Get a folder metadata ```shell mdrs metadata neurodata:/NIU/Repository/TEST/ -mdrs metadata -p PW_OPEN_PASSWORD neurodata:/NIU/Repository/PW_Open/ +mdrs metadata -p SHARING_PASSWORD neurodata:/NIU/Repository/PW_Open/ ``` ### file-metadata @@ -146,7 +147,7 @@ Get the file metadata ```shell mdrs file-metadata neurodata:/NIU/Repository/TEST/dataset/sample.dat -mdrs file-metadata -p PW_OPEN_PASSWORD neurodata:/NIU/Repository/PW_Open/Readme.txt +mdrs file-metadata -p SHARING_PASSWORD neurodata:/NIU/Repository/PW_Open/Readme.txt ``` ### help diff --git a/pyproject.toml b/pyproject.toml index 6f099d8..8d0569f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "mdrs-client-python" -version = "1.3.7" +version = "1.3.8" description = "The mdrs-client-python is python library and a command-line client for up- and downloading files to and from MDRS based repository." authors = ["Yoshihiro OKUMURA "] license = "MIT" @@ -25,17 +25,17 @@ python = "^3.10" requests = "^2.32.3" requests-toolbelt = "^1.0.0" python-dotenv = "^1.0.1" -pydantic = "^2.8.2" -pydantic-settings = "^2.3.4" -PyJWT = "^2.8.0" +pydantic = "^2.9.2" +pydantic-settings = "^2.5.2" +PyJWT = "^2.9.0" validators = "^0.33.0" [tool.poetry.group.dev.dependencies] -black = "^24.2.2" -flake8 = "^7.1.0" +black = "^24.8.0" +flake8 = "^7.1.1" Flake8-pyproject = "^1.2.3" isort = "^5.13.2" -pyright = "^1.1.372" +pyright = "^1.1.380" [tool.poetry.scripts] mdrs = 'mdrsclient.__main__:main'