osx - Copying an image in Mac OS X 1000 times -


when simple copy or duplicate finder duplicate of, "1.jpg" renamed "1 copy.jpg" there simple way, using scripting language, take "1.jpg" , make 1000 copies, each named 1.jpg, 2.jpg, 3.jpg...1000.jpg?

thanks

in terminal, run (or save .sh script , run that):

for in {2..1000}; cp 1.jpg $i.jpg; done 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -