how to use attachment_fu from the console?

Hey all,

I'm trying to use attachment_fu from the console because I need to upload a batch of picture that are locally on the same disk as my app. I tried doing that: Picture.new(File.open("pic.jpg")).save but obviously that's not the way to do it.

Any idea how to do it?

Thanks in advance

Pat