Delete all thumbs.db

Windows creates in every folder with pictures a thumbs.db file.

Linux doesn’t need them, so here is a simple command to get rid of them.

sudo find /home/user -name Thumbs.db -exec rm {} \;

How to Free Up a Lot of Disk Space on Ubuntu Linux by Deleting Cached Package Files

If you’re anything like me, you probably have Ubuntu running on your older computers, and they often have smaller hard drives so you’re looking to save every bit of drive space you can. Here’s an easy trick to free up a surprising amount of drive space.

Every time Ubuntu updates or you install some software, the package manager downloads all of the packages to the system, and then caches them there in case they need to be installed again. Unfortunately, this can often mean a real lot of wasted space.

Check the Drive Space Used by Cached Files

To check out the used space for yourself, head into the /var/cache/apt/archives folder, or just run the following command from the prompt:

du –sh /var/cache/apt/archives

Clean Out the Cached Packages

To clean out this folder properly, you can use this command from the shell prompt:

sudo apt-get clean

You could, of course, delete the files manually if you wanted to, but that would probably be a mistake since the lock file and the blank partial directory are supposed to stay there—and it’s less keystrokes to type this anyway.Continue reading