mirror of
https://github.com/minio/mc.git
synced 2025-11-14 23:42:27 +03:00
Standardize on s3:// as the default URI for all operations
- ./mc ls s3://<bucket>/<object>
where <bucket> and <object> are optional
- ./mc cp s3://<bucket>/<object> .
Downloads <object> to your present working directory
- ./mc cp <object> s3://<bucket>/<key>
Uploads <object> to your <bucket> with name <key>
where <key> is optional
This commit is contained in:
@@ -22,6 +22,9 @@ import "errors"
|
||||
var errFspath = errors.New("Arguments missing <S3Path> or <LocalPath>")
|
||||
var errFskey = errors.New("Key is needed to get the file")
|
||||
|
||||
// uri
|
||||
var errInvalidScheme = errors.New("Invalid URI scheme only s3:// supported")
|
||||
|
||||
// common
|
||||
var errMissingaccess = errors.New("Partial credentials found in the env, missing : AWS_ACCESS_KEY_ID")
|
||||
var errMissingsecret = errors.New("Partial credentials found in the env, missing : AWS_SECRET_ACCESS_KEY")
|
||||
|
||||
Reference in New Issue
Block a user