For the complete documentation index, see llms.txt. This page is also available as Markdown.

s3cmd on Windows

Install and configure s3cmd on Windows to manage Nebula Block object storage.

Tip: The console generates a ready-to-paste ~/.s3cfg for you, filled in with your endpoint and access keys. Open your workspace under Object Storage, click View, and go to the s3cmd tab. If you use it, you can skip the interactive s3cmd --configure walkthrough below and save the block it gives you as %USERPROFILE%\.s3cfg. See s3cmd on Linux and macOS for what each setting means.

1. Install s3cmd

Step 1: Check Python Installation

Ensure Python is installed by running:

python --version

If Python is not installed, download and install it from Python Official Website.

Step 2: Upgrade pip

Run the following command to upgrade pip:

python -m pip install --upgrade pip

Step 3: Install s3cmd

Run the following command to install s3cmd:

pip install s3cmd

Step 4: Ensure s3cmd is Executable

By default, Windows may recognize s3cmd as a file without an extension instead of a Python script. Navigate to the following path:

  • If s3cmd is present without a .py extension, rename it to s3cmd.py.

  • Add this location to your system environment variables (Path).

Step 5: Verify Installation

Run:

If s3cmd does not execute correctly, open the s3cmd file and ensure the first two lines are:

If necessary, run s3cmd using:

Alternatively, create a s3cmd.bat file in the same directory as s3cmd.py with the following content:

Then, retry running:

2. Configure s3cmd

Run:

You will be prompted to enter the following details:

Test access with supplied credentials:

If the connection is successful, you will see:

Save settings:

Your configuration will be saved at:

3. Usage Examples

List Buckets

Create a Bucket

Delete an Empty Bucket

List Files in a Bucket

Upload a File to a Bucket

Example:

Upload a folder to a Bucket

Example:

Download a File from a Bucket

Example:

Delete a File

Batch Upload Files Example

Batch Download Files Example

or

Batch Delete Files Example

Last updated