Template:egCompileAllFiles
Syntax
{{egCompileAllFiles}}
Usage
Code
{{egCompileAllFiles}}
Result
- Compile all AppleScript files in the current directory and its subdirectories
find '.' -iname '*.applescript' -print0 \
| sed --null-data --quiet 'h; s/applescript$/scpt/I; p; g; p' \
| xargs --max-lines=2 --max-procs=5 --null osacompile -x -o