Skip to content

Instantly share code, notes, and snippets.

View CraigLindsey's full-sized avatar

Craig Lindsey CraigLindsey

View GitHub Profile
@CraigLindsey
CraigLindsey / killapp.sh
Created August 27, 2018 23:05
SearchAndDestroy Script
#!/bin/bash
# Script by Craig Lindsey
# Will kill the named process and delete the named app from /Applications
# and from some path defined in the number 6 parameter. the var $currentUser
# is defined for you in the script itself.
# $4 is the proscess name
# $5 "Application Title.app"
# $6 /Users/"$currentUser"/Applications The path in ~/ to search. The var currentUser is defined in the script
#!/bin/sh
#####################################################################################################
#
# ABOUT THIS PROGRAM
#
# NAME
# FirefoxInstall.sh -- Installs or updates Firefox
#
# SYNOPSIS
# sudo FirefoxInstall.sh