bk [-?hV] bk [filename] [...]
Command to ease backing up a file before editting. If a previously backed up file exists and has a matching checksum a new backup is not made. Backed up files have date/time appended as necessary.
When invoked as root the username is not appended to the backup file name.
Backups are stored relative to file being backed up.
Display basic help
Display man page
Enable debugging mode (using more than once increases verbosity, or specify a level explicitly to a maximum of level 8)
Show version information
filename to be backed up. Multiple filenames can be provided.
Copyright (C) 2011 Duncan Ferguson. All rights reserved.
This 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.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Opsview; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Please report any bugs or feature requests via the web interface at https://github.com/duncs/perl-app-bk/issues . I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.