v1.0.0
This is a major release with many breaking changes.
Breaking changes
- Dropped
get
command. Users could get the same effect withs5cmd cp <src> .
. - Dropped
nested command
support. - Dropped
!
command. It was used to execute shell commands and was used in
conjunction with nested commands. s5cmd -f
ands5cmd -f -
usage has changed tos5cmd run
.run
command
accepts a file. If not provided, it'll listen for commands from stdin.- Exit code for errors was
127
. It is1
now. - Dropped
exit
command. It was used to change the shell exit code and usually
a part of the nested command usage. - Dropped local->local copy and move support. (#118)
- All error messages are sent to stderr now.
-version
flag is changed toversion
command.- Dropped
batch-rm
command. It was not listed in the help output. Now that we
support variadic arguments, users can remove multiple objects by providing wildcards or multiple arguments tos5cmd rm
command. (#106) - Virtual host style bucket name resolving is enabled by default for S3 and GCS. If you provide a custom endpoint via
--endpoint-url
flag (other than GCS and S3 transfer acceleration),s5cmd
will fall back to thepath-style
. (#92) - Listing a non-existent object will return exit code
1
, instead of0
. (#23) -ds
,-dw
,-us
and-uw
global flags are no longer available. Multipart concurrency and part size flags are now part of thecp/mv
command. New replacement flags are--concurrency | -c
and--part-size | -p
. (#110)- s5cmd
cp
command follows symbolic links by default (only when uploading to s3 from local filesystem). Use--no-follow-symlinks
flag to disable this feature. (#17) - Dropped
-parents
flag from copy command. Copy behaviour has changed to preserve the directory hierarchy as a default. Optional-flatten
flag is added to flatten directory structure. (#107) - Dropped
-vv
verbosity flag.--log
flag is introduced.
Features
- Added
mb
command to make buckets. (#25) - Added
--json
flag for JSON logging. (#22) - Added S3 transfer acceleration support. (#40)
- Added Google Cloud Storage support. (#81)
- Added
cat
command to print remote object contents to stdout (#20)
Bugfixes
- Correctly set
Content-Type
of a file on upload operations. (#33) - Fixed a bug where workers are unable to consume job if there are too many
outstanding wildcard expansion requests. (#12, #58)
Improvements
- Pre-compiled binaries are provided on releases page. (#21)
- AWS Go SDK is updated to support IAM role for service accounts. (#32)
- For copy/move operations,
s5cmd
now creates destination directory if missing. - Increase the soft limit of open files to 1000 and exits immediately when it encounters
too many open files
error. (#52)