afick_archive - a tool to manage history file and archive directory |
afick_archive - a tool to manage history file and archive directory
afick_archive
is designed to manage afick's archives reports.
It allow to suppress old reports, check reports consistency, and search
for informations in reports.
afick_archive.pl [options]
one of the 3 actions is mandatory (check, keep, search) (see below)
options are used to control afickconfig
read the configuration in config file named ``configfile''.
Output summary help information and exit.
Output full help infomation and exit
Output version information and exit.
add debugging messages
check consistency in archives : check if a report is missing
regex is a regular expression to search in all reports, for exemple : ``changed file :.*\.pl$'' (search all changed perl files)
with age in the form xP, x un number, P can be d for days, w for weeks, m for months (ex : 2w ask for 2 weeks)
the software will remove all reports older than the specified period from archive directory.
clean history file : remove line matching removed reports
Check archive consistency
afick_archive.pl --check
Remove reports older than 2 months
afick_archive.pl --keep 2m
Search all changed perl files
afick_archive.pl --search "changed file :.*\.pl$"
this program only use perl and its standard modules.
afick.conf(5) for the configuration file syntaxe
afick-tk(1) for the graphical interface
afick(1) for the command-line interface
afickonfig(1) for a tool to change afick's configuration file
this program uses the afick's configuration file
Copyright (c) 2002 Eric Gerbier All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Eric Gerbier
you can report any bug or suggest to gerbier@users.sourceforge.net
afick_archive - a tool to manage history file and archive directory |