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
StarStar 34%Total: 391 This week: 1All time: 6,641 This week: 571Up
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: 36
All time rank: 309779 in Spain Spain
Week rank: 420 Up10 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:391
This week:1
All time:6,641
This week:571Up
User Ratings User Comments (1)
 All time
Utility:41%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:34%StarStar
Rank:4102
 
Use a PHP class that is not included.
3 years ago (Patricia Zorrilla)
15%Star