• Resolved NYSBADMIN

    (@nysbadmin)


    Hello,
    Thank you for creating this plugin, I’m currently cleaning up my site due to my host’s max file count and your Pro version is worth every dollar! I’ve already purged 300k files!

    Question #1: can I simply delete the folders inside the wpmc-trash folder instead of using the delete all search results button?

    Question #2: plugins have created multiple sizes of files like filename-###x####.jpg is there any way to to search for any files that are not filename-400x####.jpg. Basically I’m trying to delete anything that’s not filename-400x or filename-150 or filename-1024. Currently I’m searching for each size. Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello 🙂

    1. Yes and no. If the files are linked to a Media entry, it’s important that this entry is deleted as well. If you are using the filesystem scan, and if you delete ALL the files, then indeed, you could delete that folder and click on the “Reset” button in the Cleaner Dashboard.

    2. Those look like files from registered sizes. You shouldn’t delete them just like that if they are still “mentioned” in the database. The filesystem scan detects the ones which are not part of the database, so those could be safely deleted. Otherwise, it’s better to delete all the thumbnails, make sure your sizes are unregistered, and then re-create the thumbnails (only the ones which are required). It’s explained here: https://meowapps.com/media-cleaner-tutorial/#Delete_All_Thumbnails. By the way, the fact the size are unregistered doesn’t remove them from the metadata linked to each media entry, which is why we need to go through a plugin which regenerate thumbnails (as the metadata will be also regenerated).

    Thread Starter NYSBADMIN

    (@nysbadmin)

    Thanks Jordy!
    1. That is what I was hoping for. This allows me to perform the Empty Trash directly from my control panel file manager instead of using the plugin.

    2. Yes, I’m working from the results of a filesystem scan. My question was more towards how to search ranges. For example making it easier to search for -100x, 101x, 102x, 103x… is there a way to search a range from -100x-103x?

    Plugin Author Jordy Meow

    (@tigroumeow)

    Yes, you would need to play with the regex for the files 🙂 Would be something like: /-10[0-3]x/

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

The topic ‘Manually Delete wpmc-trash folder?’ is closed to new replies.