WordPress.org

Ready to get started?Download WordPress

Forums

Auto Post Thumbnail
I need desperately to remove all thumbnails not used (4 posts)

  1. dihelson
    Member
    Posted 2 years ago #

    I have about 180.000 garbage thumbs on my Bluhost account after installing this software. For each picture you upload, this thing creates several pictures which are NEVER used.

    Now I need to delete all pictures not associated with my post or Bluehost will shut down mu account for the excess of files.

    Tried to separate them manually, but it´s a Hell...
    I need some help in order to delete all pictures not pertaining to the posts.

    All help is welcomed!

    Dihelson Mendonça

    http://wordpress.org/extend/plugins/auto-post-thumbnail/

  2. bh_WP_fan
    Member
    Posted 2 years ago #

    Is there any naming convention by which you can tell them apart? If you can recognize useful vs non-useful files by just something in the name of each, you may be able to execute a shell command that will find those specific files only and get rid of them.

    For example, suppose they all were named something that ended in .thumbs, and you knew that there were no legitimate/needed .thumbs files, you could run something like:

    find ~/public_html -name \*.thumbs -exec rm {} \;

    This would find all files that ended with '.thumbs' and would delete them.

    If you can provide a specific naming convention by which you tell apart the good vs bad files, a command may be able to be created to mass do that for you.

    If you don't have SSH access, you'll need to enable it for yourself in your cPanel.

  3. hellove
    Member
    Posted 2 years ago #

    I found that the plugin created files in /public_html/wp-content/uploads. If you check your dashboard's media library and "edit" the photo, it shows the location of the files there. If you're like me, and the only thumbnails created are the ones by this plugin, you'd delete the year-dated folders in the /uploads section and then delete the Media Library's thumbnails.

    I know this because I was getting rid of them for a different reason and that's how I went about it and they are completely gone.

  4. hellove
    Member
    Posted 2 years ago #

    Aw, you know what, I went about that for a similar plug-in called generate-post-thumbnails. I tried Auto Post Thumbnail but it didn't seem to work for me. Sorry about the mix-up, the two are so similar and I installed them at the same time.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic