madhuhc / copyrename

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:JavaScript 100.0%