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. |
Below describes how to use commands in obsutil:
Enter "exit" or "quit" to logout Enter "help" or "help command" to show help docs Input your command: -->ls -limit=3 -s obs://bucket-001 obs://bucket-002 obs://bucket-003 Bucket number: 3 Input your command: -->