I currently have a lambda that extracts a zip file to an s3. I would like to be able to go into the folder created by the extracted zip and copy the contents (all files and folders of the extracted zip folder) to another s3 bucket
Example:
from
src_bucket/extract/*
to
dest_bucket/*
Thanks
2
Answers
I can do something like this but it takes the entire folder and not the folder contents
I managed to get is working with the following code. I had to use the split, to then delete the first folder name and rejoin.