Bash

Introducing Parallel into Shell

Having recently needed to convert the format of an enormous quantity of images I stumbled upon GNU parallel, a powerful and simple utility for replacing shell loops with a parallel alternative. Mogrify with GNU Parallel Here is a simple example where I use GNU parallel to parallelize the conversion of a series of svs (a format commonly used for pathology images from digital whole slide scanners) to tiffs, a much more common format.

Shell Tips and Tricks

This is a simple list of tips and tricks for the shell that I discovered over the course of many years of messing around in shell and wanted to coalesce into a single document, partly to remember, and partly to share with others. Persistent SSH Sessions In order to ensure that your SSH sessions do not get disconnected after a period of inactivity simply add the following to your .