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
-- specify input and output directories | |
set infile_directory to "/Users/doug/Desktop/inputs/" | |
set outfile_directory to "/Users/doug/Desktop/outputs/" | |
-- get the basenames of each input file | |
tell application "System Events" | |
set infile_list to files of folder infile_directory | |
end tell | |
-- process each input file |
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
#!/bin/bash | |
# php linter of git tracked files | |
# passing --success argument will print no-error files in the list, | |
# otherwise, only files with parse errors will be displayed. | |
IFS=$'\n' #split filenames at newlines only | |
for file in `git ls-tree -r master --name-only` | |
do |