1 Answer
- Newest
- Most votes
- Most comments
0
I think you might have to clean these up. Here is how to find the folders that did not get moved:
aws s3api list-objects \
--bucket test-bucket \
--query 'Contents[?ends_with(Key, `/`) && contains(Key, `b/`)].Key'
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
Thanks. But that means I will need to recreate all the empty folders again at the target location. That might not be a good thing performance wise, in case the nested folders are deeper to many levels.