in reply to Re: Re: Re: Can I copy a file and rename the file to many new files?
in thread Can I copy a file and rename the file to many new files?

Hello

I must ask you again about this script.
I was trying this script but every file that are being created have the same info in it.

These files have been created.
mainfile_host1.txt
mainfile_host2.txt

Both of these file contain this info.
someinfo
host1
192.168.1.1
someinfo
This is my computer host1 and it has the adress 192.168.1.1 someinfo someinfohost1someinfo

I want the the file mainfile_host2.txt contain this info.
someinfo
host2
192.168.1.2
someinfo
This is my computer host2 and it has the adress 192.168.1.2 someinfo someinfohost2someinfo

But it want do that.


//Anders Andersson
  • Comment on Re: Re: Re: Re: Can I copy a file and rename the file to many new files?