copy one file to multiple files

sunitachoudhury

New Member
Joined
Oct 21, 2020
Messages
2
Reaction score
2
Credits
17
Dear all,

I have one image file name as abc.tif

Now I want to make a 50 copy of this image file for example abc1.tif , abc2.tif , abc3.tif , .....abc50.tif


Can anybody help me how can I do this using Linux command?
 


Code:
for n in {1..50}; do cp abc.tif abc$n.tif; done
 

Members online


Top