Skip to content

flydt/libs3

 
 

Repository files navigation

This directory contains the libs3 library.

The libs3 library is free software.  See the file LICENSE for copying
permission.

CHANGELOG

2024.07.09

add command option 'noheader' for 's3 -u list', example:

standard output:

[root@vm-105 bin]# ./s3-static -u list bucket_test
                       Key                             Last Modified      Size
--------------------------------------------------  --------------------  -----

output with 'noheader=1'

[root@vm-105 bin]# ./s3-static -u list bucket_test noheader=1
[root@vm-105 bin]#

2024.07.09

add command option 'shardings' and 'sharding-id' for 's3 -u list', example:

[root@vm-105 libs3]# build/bin/s3-static -u list test noheader=1  > list
[root@vm-105 libs3]# build/bin/s3-static -u list test noheader=1 shardings=2 sharding-id=1 > list1
[root@vm-105 libs3]# build/bin/s3-static -u list test noheader=1 shardings=2 sharding-id=0 > list0

[root@vm-105 libs3]# cat list | wc -l
193
[root@vm-105 libs3]# cat list0 | wc -l
94
[root@vm-105 libs3]# cat list1 | wc -l
99
[root@vm-105 libs3]#

it can split list result by two list command with different sharding-id, and get full result with two
result together

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.2%
  • Makefile 2.4%
  • Shell 1.4%