ah I really need something like this!
this is my problem:
I use an uploader script that stores pics in a folder, that is all fine and dandy
But now what to do when the original post is gone but that picture is still sitting on the server?
So what I need is a way to scan all pics and posts and compare to the list of pictures then delete the ones that are not called via the [ image ] tags in any posts
Can it be done?