We frequently need to mail pdf files that are too big for regular mail services, such as a 40MB pdf file with a maximum 10MB send restriction. In such situations quick and effective pdf compression comes in handy that does not reduce the quality to a level of the file becoming unusable.
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
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