Created
October 14, 2014 21:37
-
-
Save nsaphra/5b6a6576c38e785cb49c to your computer and use it in GitHub Desktop.
Filesystem find one-liner
This file contains 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
find(path::String, exec, filterfcn) = [name => exec(name) for name in filter(filterfcn, readdir(path))] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment