There will be times that on Ubuntu you encounter the loss of your thumbnails, i.e images, videos, and other files that you have saved on your drive. This can happen due to various reasons. As such today’s tip showcases how to rebuild your thumnail cache with one simple command below. The path directory of your home directory “username” needs to be replaced with your very own username.
rm -rf *
Through this very basic process your entire thumbnail cache will be rebuilt, and any errors from before will be fixed.