Hi all again, hope everybody is well.
I have just had an email from our host letting me know that we are getting very close to our capacity, and we need to trim things down a bit.
My biggest problem folder is our image folder, as it contains about 10 years worth of hotel images, and probably 50% are now unused.
So what I'm looking for is a script that checks the database and if its not in the database, it is deleted from the image folder. There are 4 folder tables, and one image folder at the root level.
Any ideas anybody.
Cheers
I have just had an email from our host letting me know that we are getting very close to our capacity, and we need to trim things down a bit.
My biggest problem folder is our image folder, as it contains about 10 years worth of hotel images, and probably 50% are now unused.
So what I'm looking for is a script that checks the database and if its not in the database, it is deleted from the image folder. There are 4 folder tables, and one image folder at the root level.
Any ideas anybody.
Cheers