in reply to Need help

It is fairly easy: first you should opendir the directory, then grep through it's files and unlink the rest.