From 6cb21c57a1bd0a2b4a903304a6626acc9f87c2a9 Mon Sep 17 00:00:00 2001 From: Caterina <36919673+catttam@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:37:20 +0100 Subject: [PATCH] Update minio_usage.md --- docs/minio_usage.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/minio_usage.md b/docs/minio_usage.md index a8d41b20..904a4197 100644 --- a/docs/minio_usage.md +++ b/docs/minio_usage.md @@ -30,7 +30,8 @@ MinIO buckets can also be managed through [oscar-cli command-line](https://githu - [put-file](https://docs.oscar.grycap.net/oscar-cli/#put-file): Upload a file on a service storage provider. An example of a put-file operation: - ``` sh + + ``` bash oscar-cli service put-file fish-detector.yaml minio .path/to/your/images ./fish-detector/input/ ``` @@ -38,11 +39,12 @@ MinIO buckets can also be managed through [oscar-cli command-line](https://githu - *Install the client*: Detailed instructions for installing the MinIO client (mc) are available in [the official documentation](https://min.io/docs/minio/linux/reference/minio-mc.html#install-mc). - *Configure the MinIO instance*: The client requires credentials to connect and interact with the MinIO instance. This configuration can be set with the following command: - ``` sh + ``` bash mc alias set myminio https://minio.gracious-varahamihira6.im.grycap.net YOUR-ACCESS-KEY YOUR-SECRET-KEY ``` Once the client is configured, users can perform various operations supported by the MinIO client. For a complete list of available commands and their usage, refer to the [MinIO client reference](https://min.io/docs/minio/linux/reference/minio-mc.html#command-quick-reference). The following example demonstrates a PUT operation, where a file is uploaded to a specific folder within a bucket. - ``` sh + + ```bash mc cp /path/to/your/images/*.jpg myminio/fish-detector/input/ ```