Last active
January 4, 2018 18:49
-
-
Save ntrogers/1f5eeb3b952141acbd886e3f19c335a6 to your computer and use it in GitHub Desktop.
[Python - Recursive Search] Recursive file search #python #snippet
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
# Recursivly search for a specific file in all users home folders | |
import glob | |
for f in glob.iglob('/Users/*/Library/Preferences/com.apple.spaces.plist'): | |
print f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment