Copies one file to a predefined backup-directory
Version: 0.12Backup::SingleFile is a Perl module that copies one file to a predefined backup-directory, appends the date and a counter for keeping the history.
License: Perl Artistic License
Operating System: Linux
my $ok = File::SimpleBackup::backup_file("MyContacts.txt", "MyBackupDir");
Creates a copy of MyContacts.txt named MyBackupDir/MyContacts_2009-07-19.txt (on the 19th of July 2009)
If the same file copied again on the same day a second copy named MyBackupDir/MyContacts_2009-07-19_000.txt is created.