Skip to content

Instantly share code, notes, and snippets.

View jorgeas80's full-sized avatar
🎯
Focusing

Jorge Arévalo jorgeas80

🎯
Focusing
View GitHub Profile
@jorgeas80
jorgeas80 / findfiles.py
Last active August 29, 2015 13:56 — forked from techtonik/findfiles.py
List the full path of all files on a directory filtered by a shell pattern
# Adapted from snippet placed into public domain by
# anatoly techtonik <[email protected]>
# http://stackoverflow.com/questions/8151300/ignore-case-in-glob-on-linux
import fnmatch
import os
import re
def findfiles(which, where='.'):