I found that s3put and s3multiput have diverged a bit from each other, so i re-synced them with each other and ported the missing functionality between them.
Then i made the "multi" functionality optional and merged that into s3put.
s3put s3multiput: Cleanup and resync of the code.
Both of them have the same heritage, and it would be nice they where
kept in sync.
s3put: add --key_prefix to prefix keys in s3
s3put: remove erronus v in getopt
s3put: document --headers option
s3multiput: add --header to send custom headers
s3multiput: expand prefix path
This is the same as 08e6393, but for
s3put s3multiput: remove unused counter total
s3multiput: Make multipart optional
s3put s3multiput: Merge multiput functionality into s3put
s3put: refactor main and add muliple path support
There were quite a bit duplicated code in main so it got factored out.
Now it also can send multiple files/dirs to s3 in the same run.
s3put: message when multipart upload not available
Print a message with some hint about why multipart upload not is