Created
January 5, 2023 02:01
-
-
Save jazlopez/8328fc424f229bbec9b30c9571e95cd5 to your computer and use it in GitHub Desktop.
Apple script to list files in the current installed application path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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