Forum:Delete.py Special:UnusedFiles

Hi there, please excuse me my english, I need help in using my bot for sysop tasks, (again). I have a bot and I would like to know if is it possible (or maybe not) to use Special:UnusedFiles to retrieve all those unused files and make the bot to delete all of them. And from Special:UncategorizedFiles also. I was trying to delete using delete.py, but it only works with images in categories or linked from a given page, but not from special pages. Does anyone how to? Thank you so much for any help. Again thank you. -- Zeist Antilles  flimsiplast 18:17, May 12, 2011 (UTC)


 * I found the easiest way to do that for me is to first generate a log of the UnusedFiles by:
 * Then use the log (which will be in the "logs" directory) as a generator for the delete.py script, so:
 * Similarly the UncategorizedFiles can be retrieved with:
 * I bet there's a more intuitive way for doing that, but this works too.
 * Keep in mind that some images (wordmark, favicon etc.) will be listed as unused even if actually used
 * — Sovq 19:30, May 12, 2011 (UTC)
 * I bet there's a more intuitive way for doing that, but this works too.
 * Keep in mind that some images (wordmark, favicon etc.) will be listed as unused even if actually used
 * — Sovq 19:30, May 12, 2011 (UTC)