Main > Programming > Libraries >

Dir::Purge 1.02

Dir::Purge 1.02

Sponsored Links

Dir::Purge 1.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.006 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 913
Date added: 2007-04-24
Publisher: Johan Vromans

Dir::Purge 1.02 description

Dir::Purge is a Perl module to purge directories to a given number of files.

SYNOPSIS

perl -MDir::Purge -e purgedir (5, @ARGV) /spare/backups

use Dir::Purge;
purgedir ({keep => 5, strategy => "by_age", verbose => 1}, "/spare/backups");

use Dir::Purge qw(purgedir_by_age);
purgedir_by_age (5, "/spare/backups");

Dir::Purge implements functions to reduce the number of files in a directory according to a strategy. It currently provides one strategy: removal of files by age.

By default, the module exports one user subroutine: purgedir.

The first argument of purgedir should either be an integer, indicating the number of files to keep in each of the directories, or a reference to a hash with options. In either case, a value for the number of files to keep is mandatory.
The other arguments are the names of the directories that must be purged. Note that this process is not recursive. Also, hidden files (name starts with a .) and non-plain files (e.g., directories, symbolic links) are not taken into account.

All directory arguments and options are checked before anything else is done. In particular, all arguments should point to existing directories and the program must have read, write, and search (execute) access to the directories.

One additional function, purgedir_by_age, can be exported on demand, or called by its fully qualified name. purgedir_by_age calls purgedir with the "by age" purge strategy preselected. Since this happens to be the default strategy for purgedir, calling purgedir_by_age is roughly equivalent to calling purgedir.

Dir::Purge 1.02 Screenshot

Advertisements

Dir::Purge 1.02 Keywords

Bookmark Dir::Purge 1.02

Hyperlink code:
Link for forum:

Dir::Purge 1.02 Copyright

WareSeeker periodically updates pricing and software information of Dir::Purge 1.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Dir::Purge 1.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
DARE is a small Linux kernel patch to VFS (Virtual Filesystem). Free Download
drun 1.0.3 provides you with an outstanding and powerfulGTK run dialog box with tab completion and a simple ui, which supports common features as well as history, files, directories, urls, and Free Download
The argparse module improves on the standard library optparse module in a number of ways, Free Download
DupeFinder is a simple application for locating, moving, renaming, and deleting duplicate files in a directory structure. Free Download
PanelFM helps you to quickly browse through the files and directories on your local disk. Free Download
Leading::Zeros is a Perl module to defuse Perls octal number representation. Free Download
webgen is a Web site generator implemented in Ruby. Free Download
Dir::List is a Perl module, that provides you with various information about a specified directory. Free Download