Find and delete unused images in File Manager

Permalink
Hi,
i'm curious if there is a way to find and delete unused images in File Manager!
Mieke

mieke
 
mnakalay replied on at Permalink Best Answer Reply
mnakalay
Hello,
I don't think there is a way to do that built in. You see, when a file is being used, that's not information that's saved in the database unless it is being used by a block. But then you would need to know what blocks you are using that are using files from the manager and then deal with each separately.

Another way would be to totally turn off the cache so the site uses files directly and not from the cache, then use a crawler to crawl your site and find out about all files that come from the "files" folder.

Anything I can think of is really a hack though so probably not worth the time.
mieke replied on at Permalink Reply
mieke
Thanks Nour,
would be a great extension for Concrete5 then :)
Yes i think your first option will be best, i will give it a trie!
Have a nice day,and thanks again for your time, Mieke