Momment Member
Posts : 19 Join date : 2011-03-09
| Subject: Append increments of 50 to end of lines of text Sun May 15, 2011 2:04 am | |
| I'm trying to mirror a server but only specific urls. Trying to backup a box at home. Problem is, i have to manually add over 509 urls.. Example: - Code:
-
url.com/forum/mod_m/ url.com/forum/mod_m/25 url.com/forum/mod_m/50 url.com/forum/mod_m/75 url.com/forum/mod_m/100 url.com/forum/mod_m/125.. and so on
Is there any easy way to append those increments of 25 to the end of each line? I have limited knowledge in programming.. and i cant seem to this with notepad++'s macros or built in tools.. |
|
Vugto Member
Posts : 6 Join date : 2011-04-18
| Subject: Re: Append increments of 50 to end of lines of text Sun May 15, 2011 2:05 am | |
| No programming required here. Open up Excel. Type the value 25 in a cell, followed by value 50 in the cell below. Select both of those cells. Move mouse cursor to the bottom-right corner of the selection (that's bottom-right of 50). The cursor will turn into a small plus sign...drag it towards the bottom. Watch what happens.
|
|
Momment Member
Posts : 19 Join date : 2011-03-09
| Subject: Re: Append increments of 50 to end of lines of text Sun May 15, 2011 2:06 am | |
| - Vugto wrote:
No programming required here. Open up Excel. Type the value 25 in a cell, followed by value 50 in the cell below. Select both of those cells. Move mouse cursor to the bottom-right corner of the selection (that's bottom-right of 50). The cursor will turn into a small plus sign...drag it towards the bottom. Watch what happens.
haha nice timing.. just figured it out using simple MSDOS command. - Code:
-
for /l %i in (0,25,317500) do echo WEBURL=%i^&print=true >>urls.txt
Thanks anyways, ill know for next time. |
|
Yola Member
Posts : 12 Join date : 2011-03-09
| Subject: Re: Append increments of 50 to end of lines of text Sun May 15, 2011 2:10 am | |
| |
|
Sponsored content
| Subject: Re: Append increments of 50 to end of lines of text | |
| |
|