• Resolved nikonx

    (@nikonx)


    I’m trying to fix up a photography site that has a crazy amount of duplicate and unused thumbnails. The uploads directory has around 700,000 files and it is taking up around 60 gb of space.

    The other issue is that the site is on an old PHP version (5.6), which I’m trying to fix but need to clear up the space so I can migrate the site first…

    I’m wondering if I should be worried about running the plugin and using the delete checkbox, given the huge number of files.

    I’m trying to do a backup of the uploads directory first but it’s going to take a week or so….

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • As far as I know it should work with that number, but it might take quite a long time. It would probably be better to use the WordPress CLI tool rather than doing this from the browser using this plugin, if you have the ability to do so.

    The delete checkbox will remove any thumbnails that had previously been generated but no longer match a size configured in WordPress. The biggest danger with this is if you have used any of those sizes in any posts/pages on your site. If that is the case, and the thumbnails are deleted, those posts/pages will display broken images.

    Also, it would be best to use the checkbox to skip regenerating the thumbnails that already exist, as that may speed things up. The equivalent argument in the CLI tool is --only-missing.

    The bulk processor uses ajax and runs through your media library one at a time, so it shouldn’t really be a problem to do any number of images. It may take a while for that blue bar to get from the left side of the screen to the right, but should make it eventually.

    Please report back and let us know how it went!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Huge uploads folder. Will this work?’ is closed to new replies.