As you know Amazon S3 Firefox (a.k.a S3Fox, Ver. 0.4 so far) is a great tool to manage contents stored in Amazon S3. But you may be embarrased when you try to remove folders from S3Fox.
Amazon S3 does not distinguish files and folders separately. So S3Fox create an object with suffix "_$folder$" in bucket in Amazon S3, in order to manage folders for S3Fox itself.
It seems that S3Fox cannot manage such naming convention and it may be preventing from removing "folders."
As you might know, Amazon S3 does not allow to delete buckets if there are any contents in it. We need to do following procedure to clean up... damm!
- list keys in bucket
b.
- for all keys
key in bucket
b:
- delete
object for
key.
I plan to create some web service to delete bucket without such iteration, but if you want to do it manually as I did, AWSZone
http://www.awszone.com/ helps you do it.
listing all objects : http://www.awszone.com/scratchpads/aws/s3.us/ListBucket.aws
deleting objects : http://www.awszone.com/scratchpads/aws/s3.us/DeleteObject.aws