Bash or Python Scripting Task

Job ID: 35320478

Budget: £10 – £15 GBP

I have a task that requires some bash scripting or maybe python

I want to copy a bunch of files from one s3 bucket to another.

All the files have the same name. But the parent directory names are different.
What I want to do is to copy the files from one location to another and prepend the file names with their parent directory name when copying them.

Hopefully, this should be a quick one.
Related categories: Python Bash Scripting Bash