aws / aws/aws-cli

s3 sync --delete not deleting empty folders

Open
#2,685 86 comments 58 reactions 0 assignees Claimed by @aidando73 View on GitHub
community contribution-ready feature-request p2 s3sync
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

Follow up to #2533

We are using aws-cli on OS X to sync bucket to local folder. So if there is file within folder, it gets synced properly. Issue is when file gets deleted - empty folder locally remains, which overtime can result in many empty folders.

`aws s3 sync --delete s3://bucket/folder .`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.