copyrename

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

Usage no npm install needed!

<script type="module">
  import copyrename from 'https://cdn.skypack.dev/copyrename';
</script>

README

This is used to dulpicate the existing file.

Usage: 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