timkay / aws

Easy command line access to Amazon EC2, S3, SQS, ELB, and SDB
http://timkay.com/aws/
426 stars 125 forks source link

fix copy-truncates-key problem, don't split on the last slash... #24

Closed keen99 closed 11 years ago

keen99 commented 12 years ago

drop everything in front of the 2nd slash instead (because slashes are valid parts of a key...)

timkay commented 12 years ago

sorry for the long delay... email notifications were broken

I need to spend more time with this patch.

keen99 commented 12 years ago

lmk if you have any questions - we're running it 4 times per minute in production and have been for 2 months. ;)

timkay commented 12 years ago

I believe it works for you, but I have to look more closely to see if it properly handles the general case.