On Sat, Dec 13, 2008 at 07:12:32PM +0000, Rodolfo Medina wrote:
> I need the right syntax to copy file.jpg 100 times with one command so to get
> 100 files named file1.jpg, file2.jpg, ..., file100.jpg.
> 
> Can anybody suggest how to achieve that?

ere is one without looping :-)

$ seq 1 100 | sed "s/^\(.*\)$/file\1.jpg/" |xargs -n1 echo file.jpg


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to