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    
Last Updated Ratings Unique User Downloads Download Rankings
2009-05-10 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 389 This week: 1All time: 6,531 This week: 284Up
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
Name: Carlos Sánchez <contact>
Classes: 2 packages by
Country: Spain Spain
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:389
This week:1
All time:6,531
This week:284Up
User Comments (1)
Use a PHP class that is not included.
9 hours ago (Patricia Zorrilla)
15%Star
 

For more information send a message to info at phpclasses dot org.