Anis Eleuch
5a0d5116f4
mirror: Fix removal of FS target without a trailing slash ( #4560 )
2023-05-04 11:10:16 -07:00
Anis Eleuch
81453d7c8f
stat: Fix output when stat a prefix which has other prefixes ( #4501 )
2023-03-23 13:03:04 -07:00
adfost
fd7142e223
update license headers to 2022 ( #4360 )
2022-11-14 18:38:39 -08:00
Anis Elleuch
4e42a9e3eb
rb: Better error message when the user passes an object name ( #4183 )
...
The new error message is:
```
$ mc rb --force play/testbucket/dir/
mc: <ERROR> Failed to remove `play/testbucket/dir/`. Bucket name `testbucket/dir/` not valid.
```
2022-08-03 08:43:41 -07:00
Harshavardhana
69c0129cc7
remove sysinfo from errorIf with globalDebug ( #4178 )
...
remove sysinfo from errorIf without globalDebug
Bonus remove unused error BucketNameTopLevel and
fixes #4177
2022-08-02 17:00:08 -07:00
Harshavardhana
a59f9e4d30
add gofumpt support, automated cleanup ( #3911 )
2022-01-06 10:55:40 -08:00
Harshavardhana
1402987ccb
change license to AGPLv3
2021-05-11 17:45:08 -07:00
Anis Elleuch
9ff6c146b4
rm: Show deleted error msg when delete marker is found ( #3407 )
...
HEAD object returns 404 with a delete-marker header when the object is a
delete-marker in a versioning bucket. This PR will show a better error
message in that case.
Use url2Stat() and ignore 400 bad request error.
2020-09-21 11:42:31 -07:00
Anis Elleuch
ec734d0f71
Add --rewind flag for cat command ( #3321 )
2020-07-28 13:19:56 -07:00
BigUstad
71eb7f6689
Add tag command ( #3117 )
2020-03-22 20:59:49 -07:00
ebozduman
83a9d8b91d
Adds missing codebase MinIO and min.io changes ( #2745 )
2019-04-16 22:31:54 -07:00
Harshavardhana
29f2dbca6b
Fix 'mc mb' to guide the user when bucket is not passed ( #2476 )
...
Additionally this PR also allows for creating
prefixes on S3 compatible object storage backends
in the following form
```
mc mb s3/harshavardhana/object/prefix/
```
2018-06-29 14:56:07 -07:00
Harshavardhana
dfffc1e7cc
mirror: Deprecate --force instead add --overwrite ( #2318 )
...
Fixes #2317
2017-11-30 16:51:17 +05:30
Scott McClellan
9eb967cabf
minor fixes to mc share download command ( #2106 )
...
improved error messages and issue with `--recursive` option.
Fixes #2099
2017-04-17 17:37:11 -07:00
Anis Elleuch
798775775b
Use ` instead of unicode single quote ( #2033 )
...
‘ is not supported in some dumb terminals, use ` instead
2017-02-25 11:08:32 -08:00
Anis Elleuch
15b91126d5
More meaningful error messages with unsupported filesystem operations (share and policy) ( #1833 )
2016-09-25 10:20:56 -07:00
Harshavardhana
2ea2ec90d2
Rename mc --> cmd
2016-08-17 18:26:18 -07:00