What is this about ? ******************** This lets you collect files of specified names from all over the file sytem into one directory. This is useful for taking copies of those files. The original purpose was to collect the Hacks (changes) files. See the MailDocumentation program. Examples ******** These should all be run from cron at some suitable time. Files will only be copied if an up to date version does not exist in the destination directory (default: /etc/Documentation/Hacks.d). CollectHacks -e /home/ Locate every file called Hacks except for those under /home. These will be copied to /etc/Documentation/Hacks.d/ CollectHacks -h CronHistory/Latest -d /etc/Documentation/LastestCrontabs.d Locate files 'Latest' in any directory called CronHistory, put a copy under /etc/Documentation/LastestCrontabs.d CollectHacks -d /etc/Documentation/SCCS.d/ -H '/s\.[^/]*$' -e /etc/Documentation -e /usr/share/groff/ Collect files with names starting 's.', put into /etc/Documentation/SCCS.d/ Do not collect from /etc/Documentation or /usr/share/groff/. CollectHacks -f /etc/Documentation/Collected -d /etc/Documentation/Collected.d /etc/Documentation/Collected contains a list of file names, these will be copied to /etc/Documentation/Collected.d/ CollectHacks -s /home/bill Find Hacks files but only under /home/bill/ CollectHacks -d /etc/Documentation/Sysconfig.d /etc/sysconfig/* Keep a copy of all the files in /etc/sysconfig/ in /etc/Documentation/Sysconfig.d/. You may want to mail yourself /etc/Documentation/ using MailDocumentation, the mail will be encrypted. Installation ************ Read the file Documentation for a full description of how to do this. RPMs may be available for your system License ******* This software is copyright (c) Alain Williams , 2008, 2009. Read the file License Keeping up to date ****************** You may find newer versions of this software at: http://www.phcomp.co.uk/downloads.php Where you will also find references to email lists that relate to this software. Contributing ************ CollectHacks is free software (see the license). Free software grows and becomes more powerful and useful as those who gain by using it contribute their changes back to the original author. Contributions to this software are welcome. Please email the author the following: * your name & email address * your affiliation (company/institute/...) if any * the code * documentation * a statement that you are legally able to release the code and documentation * a statement transfering copyright to the Author below giving permission that it may be redistributed as part of UserAdmin under an appropriate license Contributions will be acknowledged in the Contributors file that accompanies this software. If you do not want to be acknowledged please make that clear. The author will be pleased to receive your comments, good or bad. SCCS: @(#)README 1.3 08/07/09 10:55:59