CHANGETRACK(1) | General Commands Manual | CHANGETRACK(1) |
changetrack - track changes to files
changetrack [-h] [-c configfile] [-d directory] [-e] [-r] [-q] [-m message] [-M message] [-v] [-u] [-o toaddress] [-f fromaddress]
changetrack is a program to monitor changes to a bunch of files. If files are modified one day, and the machine starts working incorrectly some days later, changetrack can provide information on which files were modified, and help locate the problem.
Normally changetrack uses ed to keep track of various revisions of the files by maintaining an .ed script with the change history for each file.
Alternatively, changetrack can use rcs to keep track of various revisions of the files. Each file is "installed" in the rcs system the first time that changetrack is run after that file is added to the config file. Whenever changetrack is run after that, a copy of the file is made, which is 'checked in' and implicitly 'checked out' of the rcs system. See the man page of co for information on retrieving an old version of the file.
Backup files (ending in tilde ~) are ignored, unless explicitly included.
After each pattern in the file list, adding white space, a colon (:) then more whitespace, followed by email addresses, separated by more whitespace, will result in the changes to that file being emailed to that address. All changes from each run are expressed in one email. Using the email feature requires Mail::SendMail to be installed; if it does not work correctly, an error message will be printed to standard error.
This program requires diff. Unless the -r switch is used, this program requires rcs to be installed. If the -e switch is used, ed is required.
Each filename is written to standard output. rcs will print errors if certain things go wrong. It will also print a few lines each time changetrack is run after a new file is added to the configuration.
Author: Cameron J. Morland.
Manual Page Revision: 2.1 Release Date: 2001-03-06.
Copyright © 2001-2005 Cameron J. Morland.
Changed by Jens Peter Secher to reflect the Debian modifications.
Automate removal of out-of-date changes, to save disk space and clarify the important changes.
None known.