Was this content helpful?
How could we make this article more helpful?
s5cmd is validated for use with Lyve Cloud Object Storage.
To start using s5cmd, you'll need to configure it with your Lyve Cloud S3 storage service. Once s5cmd is installed, run the following commands to insert access keys into a credentials file:
$ mkdir ~/.aws
$ vim ~/.aws/credentials
[default]
aws_access_key_id = <access-key>
aws_secret_access_key = <secret-key>
s5cmd --endpoint-url=https://s3.<region>.sv15.lyve.seagate.com ls
where:
s5cmd --endpoint-url=https://s3.<region>.sv15.lyve.seagate.com mb s3://s5cmd-bucket
where:
s5cmd --endpoint-url=https://s3.<region>.sv15.lyve.seagate.com cp envpod.yaml s3://s5cmd-bucket cp envpod.yaml s3://s5cmd-bucket/envpod.yaml
where:
s5cmd --endpoint-url=https://s3.<region>.sv15.lyve.seagate.com cp s3://s5cmd-bucket/export_repo.sh /Users/660186/desktop/export.sh
where:
s5cmd --endpoint-url=https://s3.<region>.sv15.lyve.seagate.com sync my-sync-folder s3://s5cmd-bucket
cp my-sync-folder/Pic-2.png s3://s5cmd-bucket/my-sync-folder/Pic-2.png
cp my-sync-folder/Pic-3.png s3://s5cmd-bucket/my-sync-folder/Pic-3.png
cp my-sync-folder/Pic-1.png s3://s5cmd-bucket/my-sync-folder/Pic-1.png
where: