Login   Register  
PHP Classes
elePHPant
Icontem

olDelete: Delete aged files and folders

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-05-10 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 380 All time: 6,010 This week: 1,637Up
Version License PHP version Categories  
oldelete 1.23GNU Lesser General Publ...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: 26
All time rank: 279868 in Spain Spain
Week rank: 1734 Up48 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 1KB
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:380All time:6,010
 This week:0This week:1,637Up