On Fri, Aug 7, 2009 at 2:20 PM, Shrinivasan T <[email protected]> wrote:
>
> Friends.
>
> I have a text file. How to create 1,00,000 copies of the same file?
>

If you are going to use those files only for reading, then this would work

for i in {1..100000}
do
ln -s $file $file.$i
done

-Sree Pratheep.
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to