Skip to content

Instantly share code, notes, and snippets.

@yeti-detective
yeti-detective / gifit.sh
Last active July 22, 2021 15:59
This function will let you make MacOs screen captures into .gif files by running `gifit <input_filename> <gif pixel size ie: 1200x800> <output_filename>`
function gifit {
gifthis=1
input_file=""
output_file=output.gif
gifsize=900x600
if [[ $# -eq 0 ]]; then
gifthis=0
echo "Usage: gifit <input_mov_file> <gif pixel size ie: 1200x800> <output_gif_filename>"
echo " converts mov files into <gif_size> gif files"
fi