Skip to content

Instantly share code, notes, and snippets.

@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