Linux: remove files that got deleted while written – or how to lose track of files eating up your disk space

Just stumbled across why you should not simply delete files such as: These files get written permanently, therefore are opened. The application writing to the file has an according file handle, therefore deleting the file using deletes the representation of the data in the file system, not the data itself. As the file handle used … Continue reading Linux: remove files that got deleted while written – or how to lose track of files eating up your disk space

convertconditional: convert an image if it fulfills certain conditions

Recently I needed a script to batch convert only those images amongst a large amount of images which fulfil certain criteria, namely of being exactly of a stated size. The script is based on ImageMagick's convert and basically takes an arbitrary amount of convert parameters. I personally use this script to automatically reduce size and … Continue reading convertconditional: convert an image if it fulfills certain conditions