Jump to main content Jump to doc navigation

What is DirWalker?

DirWalker is a class for recursively traversing directories. You can exclude directories by name and you can include or exclude files either by string or by regular expression.

The file list can be retrieved from the class after the search or each file can be processed in any way as it is found.

Package Information

  • Downloads: 609
  • License: GPLv2
  • Requires: Revolution 2.0.x or greater
  • Supports: mysql,sqlsrv

History

This version of the DirWalker extra was developed by Bob Ray. It was first posted to GitHub on Jan 27, 2014. As of Jun 22, 2017 it had been last updated on Jun 22, 2017, had 11 commits, and had been downloaded 609 times. The DirWalker package consists of 142 separate files, containing 3,594 lines of code.

It is currently maintained by Bob Ray.

Download

DirWalker can be downloaded and installed from within the MODX Revolution Manager via Package Manager (Extras -> Installer), or from the MODX Extras Repository.

Development and Bug Reporting

DirWalker is stored and developed using GitHub, and can be found here: DirWalker GitHub main page.

Bugs and feature requests can be filed here: DirWalker issues page..

Questions about how to use DirWalker should be posted on the MODX Forums.

Documentation

The full documentation for DirWalker can be found at the author's web site (Bob's Guides): DirWalker Documentation.

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • Lefthandmedia
  • Murray Wood
  • eydolan
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$301 per month—let's make that $500!

Learn more