Closed antoineroux closed 3 months ago
--continue has been long deprecated and removed, there is no such thing as --continue
anymore.
I am expecting mc not to try and copy the files if they were already created in a previous session, thanks to the
--continue
flag
if you want this use mc mirror
instead of cp
Thanks a lot for the answer. The documentation still mentions --continue, hence this request. I will try mc mirror
it looks like it does exactly what I want.
Thanks a lot for the answer. The documentation still mentions --continue, hence this request. I will try
mc mirror
it looks like it does exactly what I want.
Will get rid of the docs
Expected behavior
I am using minio and mc in a Docker Compose file to set up a test environment containing an S3 bucket. I configured my mc service like this:
I am expecting mc not to try and copy the files if they were already created in a previous session, thanks to the
--continue
flag inmc cp --continue --recursive /ci_reference_files/* local/jobs-product"
. In any case it should complete succesfully.According to the documentation,
--continue
is a valid flag.Actual behavior
mc fails with the following error:
Steps to reproduce the behavior
Run Docker Compose on this example (I am using /tmp as a source of files to copy, you can change it to something else):
mc --version
quay.io/minio/mc:RELEASE.2024-07-08T20-59-24Z