obsutil is a command line tool for accessing and managing OBS. You can use this tool to create buckets and upload, download, or delete files/folders. If you are familiar with the command line interface (CLI), obsutil is a good choice in batch processing and automatic tasks.
obsutil is compatible with Windows, Linux, and macOS. Table 1 lists the recommended operating system (OS) versions.
OS | Recommended Version |
|---|---|
Windows |
|
Linux |
|
macOS | macOS 10.13.4 |
obsutil has the following advantages:
Table 2 lists the functions of obsutil.
Function | Description |
|---|---|
Allows you to:
| |
Allows you to upload, download, delete, and list objects. In detail, you can:
| |
Provides logging on your client to record operations on buckets and objects for analysis. |
Advanced bucket and object management will be available in later versions of obsutil. You can now use them on OBS Console. For details, see Object Storage Service User Guide.
Below describes how to use commands in obsutil:
obsutil command [parameters...] [options...]
./obsutil command [parameters...] [options...]
Enter "exit" or "quit" to logoutEnter "help" or "help command" to show help docsInput your command:--> ls -limit=3 -sobs://bucket-001obs://bucket-002obs://bucket-003Bucket number: 3Input your command:-->