/copyrename

Duplicate the same file from number 1 to 'count', file extention remains the same

Primary LanguageJavaScriptMIT LicenseMIT

This is used to dulpicate the existing file.

How to use

import the module var cprm = required('copyrename');

cprm.copyAndRename(filePath, count);

Note

-filePath can be relative or absolute to the path
-count is the number of itereations
-duplicated file will be renamed from 1 to count