I have these files in my source folder
source_path/date=20191230/somefile.txt
source_path/date=20191231/somefile.txt
source_path/date=20200101/somefile.txt
source_path/date=20200102/somefile.txt
If I do the bellow command all files will be copied to my dest_path folder
cp --recursive source_path/date=20200* dest_path/
It works perfectly in my local machine
I just get copy these files to my dest_path as i wanted
source_path/date=20200101/somefile.txt
source_path/date=20200102/somefile.txt
The problem comes when I replicate this same thing in aws. I am copying from S3 to my Ec2 instance with this comand
aws s3 cp --recursive s3://source_path/date=20200* home/ec2-user/dest_path/
This does not work nor gives a error it just gives this output
0.35user 0.05system 0:00.48elapsed 85%CPU (0avgtext+0avgdata 50660maxresident)k
0inputs+0outputs (0major+17977minor)pagefaults 0swaps