Changelog
Breaking changes
- Dropped inline comment feature for
run
command. Previously s5cmd supported a command with an inline comment likels s3://bucket/object.gz # inline comment
. (#309) - Changed homebrew installation command on macOS. Users can install s5cmd via
brew install peak/tap/s5cmd
. (#356) - Print usage errors to stderr instead of stdout and do not show help text on usage error. (#399)
Features
- Added
sync
command to synchronize two given buckets, prefixes, or objects. (#3) - Added AWS Single Sign-On (SSO) profiles support. (#385)
- Added
--force-glacier-transfer
flag toselect
command. (#346) - Added
--ignore-glacier-warnings
flag tocp
,mv
andselect
commands. (#346) - Added
--request-payer
flag to includex-amz-request-payer
in header while sending GET, POST and HEAD requests. (#297) @Kirill888 - Added
--use-list-objects-v1
flag to force using S3 ListObjects API instead of ListObjectsV2 API. (#405) @greenpau
Improvements
- Upgraded minimum required Go version to 1.16.
Bugfixes
- Fixed a bug about precedence of region detection, which auto region detection would always override region defined in environment or profile. (#325)
- Fixed a bug where errors did not result a non-zero exit code. (#304)
- Print error if the commands file of
run
command is not accessible. (#410) - Updated region detection call to use current session's address resolving method (#314)