How can I resize a mongodb capped collection without losing data?

Is there a command for that, or could somebody provide a script?

Edit
Report