pyfindtool 0.14

Creator: bradpython12

Last updated:

0 purchases

pyfindtool 0.14 Image
pyfindtool 0.14 Images
Add to Cart

Description:

pyfindtool 0.14

PyFind
This module provides a simple tool to search a directory tree for files
matching some criteria, in a way similar to GNU find.
It works both from command line and as a module.
A sample:
from pyfind import Search

# Finds all files greater than 1 MiB, created in the last 25 minutes,
# whose name ends in '.py' or '.pyc'
for found in Search('.', '-size +1m -a -cmin -25 -a ( -name *.py -or -name *.pyc )').find():
print (found)

Also, it provides some extension switches: -Xdate and -Xhour, to test date
and times in a more user-friendly way (and better than -xnewerXY).
The code is given to the Public Domain.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.