A UNIX Shell script wrapper for the VI editor.
It is recommended VIB be used as an alias for the VI editor.
VIB creates backups of any files edited using VI to a specified location while maintaining X backup revisions, and keeping a revision history of who made changes and when to a master log.
VIB is Ideal in environments where you have multiple users logging into a UNIX system and you wish to keep track of whom is modifying files.
For example, VIB could be 'aliased' in all new user shell accounts, so that when they edit a file using "vi", a log entry will be generated, and a backup copy of the file with their username will also be notated.
The goal of VIB is to assist with tracking who modified what file, when on a UNIX/Linux systsm.
Features
- Keeps backup of all files to either the current directory in the ".backup" directory
- Keeps up to $MAX number of backups per file
- Keeps a log of all file changes to /var/log/vib-history.log
- Rotates the /var/log/vib-history.log if filesize > 30Meg
- Allows you to include the file path in the backup file filename
- Allows you to either commit changes or roll back changes before saving the file after editing it with VI.
- Allows you to configure to automatically save all changes; (i.e. no prompts)