I need to write files with name format {5 digit sequential number}.{extension I will supply}.
Is there a utility which would allow me to copy/move/put a file with the above name format incrementing the sequence for each subsequent file. Something similar to what logrotate is doing. Tlhanks in advance