AWS CLI (Linux)
Step 2: Once installed you need to initialize your AWS configuration by typing the following command:
This command will ask you for your
Access Key ID,
Secret Access Key, and
Default regionwhich you can all retrieve from the Data Connector settings page on the Groups hub.
Default output formatoption you can leave empty.
Step 3: Now you can use the CLI to retrieve a list of all files in your S3 bucket.
To list all files you can for example us the following command
aws s3 ls s3://your-bucket-name
Or use the following command to download a file to your local hard drive home directory
aws s3 cp s3://your-bucket-name/filename.csv ~/filename.csv