• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. User Guide (S3cmd)
  4. Operation Guide
  5. Other Operations
  6. Modifying the Configuration File

Modifying the Configuration File

File ./s3cfg contains all configuration information about S3cmd. This section introduces how to manually modify configuration parameters on your demand.

Prerequisites

You have installed and configured S3cmd.

Procedure

  1. Open the command line tool.
  2. Run the following command to open file .s3cfg:

    vi ~/.s3cfg

  3. Press i to go the edit mode and modify related configuration parameters.
  4. Press Esc, input :wq!, and press Enter to save and exit the vi editor.

    The modification on these parameters takes effect immediately. You can manually run the related command to check whether the S3cmd configuration takes effect.