Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Pythonic implementation of a find-like tool.

NotificationsYou must be signed in to change notification settings

maxpat78/PyFind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module provides a simple tool to search a directory tree for filesmatching 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 dateand times in a more user-friendly way (and better than -xnewerXY).

The code is given to the Public Domain.

About

A Pythonic implementation of a find-like tool.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp