< Zurück

02.12.2012 22:09:00 • Categories: Applescript • Tags: Applescript

AppleScript: Terminal - directory listing

(* directory listing*)
set thePath to "/"
set ergebnis to (do shell script "ls -al "&thePath&" | awk '{print $9}'") as string

< Zurück | ^ nach oben