PHP Classes

olDelete: Delete aged files and folders

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 390 All time: 6,633 This week: 263Up
Version License PHP version Categories
oldelete 1.23GNU Lesser Genera...4.0PHP 5, Files and Folders
Description 

Author

This class can be used to delete aged files and folders.

It uses the navigator class to browse a given directory and delete files or directories that were modified for the last time more than a given number of minutes ago.

When removing directories, the class can remove them recursively.

Innovation Award
PHP Programming Innovation award nominee
May 2009
Number 5


Prize: One copy of DWebPro Standard License
One common application maintenance task is to delete files that are no longer useful because they are too old.

This class provides a practical solution to cleanup old files inside given directory.

Manuel Lemos
Picture of Carlos Sánchez
Name: Carlos Sánchez is available for providing paid consulting. Contact Carlos Sánchez .
Classes: 2 packages by
Country: Spain Spain
Age: 35
All time rank: 309279 in Spain Spain
Week rank: 346 Up15 in Spain Spain Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file class.oldelete.php Class The class!
Accessible without login Plain text file example_and_doc.php Example Example and documentation

Downloadoldelete-2009-05-10.zip
Downloadoldelete-2009-05-10.tar.gz 1KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Navigator Download .zip .tar.gz It's used for the deletion. Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:390
This week:0
All time:6,633
This week:263Up
User Comments (1)
Use a PHP class that is not included.
3 years ago (Patricia Zorrilla)
15%Star