[plug] clone files - increment name
Nick Bannon
nick at ucc.gu.uwa.edu.au
Mon Jul 28 18:14:18 WST 2008
On Mon, Jul 28, 2008 at 06:06:08PM +0800, Gavin Chester wrote:
> I'm stumped how to best approach this problem? Say, I have a single
> graphic image (jpg) and I want 100 identical clones of it, but of course
[...]
for i in `seq -w 1 100`; do
cp -p image.jpg image$i.jpg
done
Try "seq 1 15" and "seq -w 1 15" on their own, too, to see what they do.
Nick.
--
Nick Bannon | "I made this letter longer than usual because
nick-sig at rcpt.to | I lack the time to make it shorter." - Pascal
More information about the plug
mailing list