logo-MindMajix
PostAWSAWS
k
kavya A

Posted on 19th July 2024|206 views

0
votes

In AWS CLI, How To Use Wildcards In Order To Copy A Group Of Files?

Hi, I am unable to copy file groups from S3 bucket in AWS CLI. I am Using this path aws s3 cp s3://myfiles/file*, adding a ‘ * ‘ is not working. Please help me out thanks in advance.

1 answers
Answers
P
Aryan Sharma

Posted on 19th July 2024| views

If there is an error while using ‘ * ’ you can also use recursive, include, and exclude flags like 

 

aws s3 cp s3://myfiles/ . --recursive --exclude "*" --include "file*"`

 

This should be helpful.

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number