You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduce this issue as follows (replace BUCKETNAME).
> touch tmp.txt
> s4cmd put tmp.txt "s3://BUCKETNAME/bugcheck/" # create an empty directory marker
> s4cmd put tmp.txt s3://BUCKETNAME/bugcheck/file # create any file under that path
# ls shows both an empty directory file and a file under that path
> s4cmd ls s3://BUCKETNAME/bugcheck
2021-03-31 19:41 0 s3://BUCKETNAME/bugcheck/
2021-03-31 19:41 0 s3://BUCKETNAME/bugcheck/file
# delete just the empty directory marker (no recursive options set), we DON'T want to delete `file`, but both are deleted
> s4cmd del "s3://BUCKETNAME/bugcheck/"
Delete s3://BUCKETNAME/bugcheck/
Delete s3://BUCKETNAME/bugcheck/file
In the example above only the object s3://BUCKETNAME/bugcheck/ should be deleted, but s3://BUCKETNAME/bugcheck/file gets deleted as well unexpectedly.
The text was updated successfully, but these errors were encountered:
Reproduce this issue as follows (replace BUCKETNAME).
In the example above only the object
s3://BUCKETNAME/bugcheck/
should be deleted, buts3://BUCKETNAME/bugcheck/file
gets deleted as well unexpectedly.The text was updated successfully, but these errors were encountered: