freebsd-ports/sysutils/p5-File-BackupCopy/pkg-descr
Alexey Dokuchaev 00fc5c288c Add two Perl modules, p5-File-BackupCopy and p5-File-Cmp which is
a TEST_DEPENDS for the former.
2020-07-16 17:34:19 +00:00

12 lines
802 B
Text

The File::BackupCopy module provides functions for creating backup copies of
files. Two backup schemes are supported: simple and numbered backups. In
simple (or single) backup scheme, only one backup copy is maintained for the
given file. Its name is created by appending a single tilde character to the
original file name. In numbered backup scheme, arbitrary number of backup
copies can be created. The name of each backup copy is created by suffixing
the original file name with '.~N~', where N is a decimal number starting with
1. Additionally, the automatic backup name scheme is implemented. In this
naming scheme, numbered backups are created if at least one numbered backup
copy already exists and simple backups are created otherwise.
WWW: https://metacpan.org/release/File-BackupCopy