Skip to content

Instantly share code, notes, and snippets.

@thenktor
thenktor / fmadmnotifier.sh
Created May 14, 2024 15:33 — forked from nde1/fmadmnotifier.sh
FMA Email Notifications
#!/bin/bash
#
# Program: E-mail fault manager errors <fmadmnotifier.sh>
#
# Author: Matty < matty91 at gmail dot com >
#
# Current Version: 1.1
#
# Revision History:
#
@thenktor
thenktor / finfo.sh
Created November 30, 2023 08:05
Open Finder file info dialog
# show Finder's info dialog from command line, add this e.g. to .zshrc
finfo() {
osascript - "$@" <<-ENDOSASCRIPT > /dev/null 2>&1
on run args
tell app "Finder"
activate
repeat with f in args
open information window of (posix file (contents of f) as alias)
end
end