/DirectoryCleaner

A tool to remove undesirable entries from a directory

Primary LanguagePHP

DirectoryCleaner

2017-03-31 -> 2021-03-05

A tool to remove undesirable entries from a directory.

DirectoryCleaner is part of the universe framework.

Install

Download the repository directly, or use the uni command:

cd /my/app
uni import Ling/DirectoryCleaner

Usage

To clean a directory, do the following:

$d = "/path/to/dir_to_clean";
$recursive = false;
DirectoryCleaner::create()->clean($d, $recursive);

History Log

  • 1.0.3 -- 2021-03-05

    • update README.md, add install alternative
  • 1.0.2 -- 2020-12-08

    • Fix lpi-deps not using natsort.
  • 1.0.1 -- 2020-12-04

    • Add lpi-deps.byml file
  • 1.0.0 -- 2017-03-31

    • initial commit