Ok I what I did was this... I downloaded the contents of the w3t_Graemlins table to see how it is formatted. What I did then was upload all my files to the graemlin folder. Then I used my terminal app to capture a list of all the file names in that folder. I converted it and imported it into FileMaker. Then added some strings to recreate the necessary insert lines. for each of the 475 new graemlins. Then i exported the file and tweaked it a bit in bbedit. then backup my original. I uploaded the new file. It worked too well All 475 graemlins were there it took forever to see all of em in the CP so finally when it loaded i went through and deleted almost half as many were dups and or just vulgar or dumb.
But it isn't too terribly hard to do a bulk upload.
But now I need a way to delete all the unused graemlins in the folder that are not in the db? I thought the script would delete the graemlin like it does for the post icon? but I guess not.