#!/bin/bash # Libary needed: ImageMagick # # Needs 2 input args: # 1. The path of the source file # 2. The output path (with .ico extension) convert -density 300 -define icon:auto-resize=96,64,48,32,16 -background none $1 $2