This PR removes --parallel flag and implements a dynamic way of adding
threads to accelerate mirror/cp command.
After the calculation of objects that need to be copied/removed, mc
sends tasks (upload/remove) to a parallel manager which monitors the
progress of tasks and decide to allocate more threads to it to
accelerate the overall work.
This is very useful when we copy/mirror many relatively small files.
This requires --dangerous flag in addition to --recursive and --force
Change namespace identification check to be more robust to user
input errors like mc rm --r --force play//
Now ENV supports following style and doesn't require
a pre-requisite to have an entry in `config.json`
MC_HOSTS_myminio=http://minio:minio123@localhost:9000/
Notice signature style is auto-probed if env is set.
Added exclude options to exclude unwanted system files.
Exclude option excludes the source files/objects that match
the passed shell file name pattern
Fixes#1903
- Watch now avoids an unnecessary waitgroup and simplifies overall flow.
- Watch now honors maxDepth parameter as well.
- Parsing logic is fully outside in the mainFind() function.
- Enhance and fix behavior of nameMatch to comply with unix
find behavior.
- Enhance and fix behavior of maxdepth to comply with unix
find behavior.
Fixes#2272
In terminals, cat avoids directly printing some binary characters, such
as control characters or non printable characters but prints ^? instead,
that way, cat will avoid corrupting terminals
Currently `mc find` didn't honor `--json` flag properly,
this PR addresses that.
Additionally also take care of `List` returning errors
and handle them appropriately.
Fixes#2252
This PR brings in changes for
- PutObjectStream with no content-length is heavily
optimized so `mc pipe` will not run out of memory
for large uploads.
- Fixes a bug in Signature v2 for HTTP requests.
- Support us-gov-west-1 region as well.
- Auto region handling is inside minio-go now.
The probe package is no longer available in the Minio server
repo. This change just moves probe from the vendor directory to its
own dir under `pkg`.
This is a maintenance fix.
From now on, when the user specifies to share a prefix which represents
a directory, all objects under that directory will be shared without
having to check for --recursive flag. If the latter is specified, all
objects in all subdirs will be shared.
This PR brings following changes
- Brings streaming support for mc uploads.
- Brings support for copying objects upto 5TiB
as a consequence of ComposeObject implementation
in minio-go.