Skip to content

Instantly share code, notes, and snippets.

@jazlopez
Created January 5, 2023 02:01
Show Gist options
  • Save jazlopez/8328fc424f229bbec9b30c9571e95cd5 to your computer and use it in GitHub Desktop.
Save jazlopez/8328fc424f229bbec9b30c9571e95cd5 to your computer and use it in GitHub Desktop.
Apple script to list files in the current installed application path
tell application "Finder"
set currentDir to (target of front Finder window) as text
end tell
do shell script "cd " & (quoted form of POSIX path of currentDir) & "; ls"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment