s5cmd
s5cmd copied to clipboard
Error parsing regexp: invalid UTF-8
I got an error:
ERROR "cp /home/www/catalogue/18948/ s3://production/catalogue/18948/": error parsing regexp: invalid UTF-8: `G\.jpg.*$`
when ran this command:
docker run --rm -it \
-v /root/.aws:/root/.aws \
-v /home/webike/www:/home/webike/www \
peakcom/s5cmd \
--endpoint-url=https://my-endpoint \
cp --acl public-read --if-source-newer --if-size-differ \
/home/www/catalogue/18948/ s3://production/catalogue/18948/
Please help.