I want a script to copy the same file from source folder to target folder by incrementing the filename (ex. file1, file2, file3, file4,....). This would be for some performance testing.
I've got this code so far, but how best can it be achieved?
#!/bin/sh for i in 1 2 do cp /tmp/ABC*/folder1/ABC*$i done