Tk Library Source Code

View Ticket
Login
Ticket UUID: 1908510
Title: Submission: fileutil::globfind
Type: RFE Version: None
Submitter: blacksqr Created on: 2008-03-06 06:54:00
Subsystem: fileutil Assigned To: nobody
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2013-07-04 17:25:07
Resolution: Not Applicable Here Closed By:
    Closed on:
Description:
globfind is designed as a fast and simple alternative to fileutil::find.  It takes advantage of glob's ability to use multiple patterns to scan deeply into a directory structure in a single command, hence the name.

It is two to three times faster than fileutil::find, and somewhat faster than perl's standard directory traversal utility, File::Find.

See http://wiki.tcl.tk/19762 for performance details.

Some example filter commands are included for use with globfind: one powers a wrapper proc that duplicates the function of a subset of the Gnu find utility's parameters; another performs directory syncing.
User Comments: blacksqr added on 2008-03-06 13:54:01:

File Added - 269277: globfind.tcl

Attachments: