Inverse removing files from a directory

One thing I really like about bash is how certain problems can be solved in a multitude of ways. Recently I had the following problem. A directory contain a whole bunch of files like this:

In reality there were thousands of files, and also some non html files, but let’s just keep it simple

Continue reading and comment →