Code Replacer

Completed Posted Dec 30, 2003 Paid on delivery
Completed Paid on delivery

I have some code I need replaced on +/- 10,000 files... (in various subdirectories, so replacement will need to be recursive)

Example of directory structure:

/usr/home/www/143/www/2003pics/day1

/usr/home/www/143/www/2003pics/day2

/usr/home/www/143/www/2003pics/day3

etc...

I would like to go to the 2003pics directory and run the script that will replace all the code on all the html files in that directory and als have it change the same code in the directories under it (day1, day2, etc).

Note: There are actually many sub-directories under different names.

## Deliverables

**what I have now (the old code):

**<a href='[url removed, login to view]' target='_blank'>

<img src=

'[url removed, login to view]:2&target=_blank&n=a538f097' border='0' alt=''></a>

**What I want to replace above with (the new code):**

<script language='JavaScript' type='text/javascript'>

<!--

if (!document.phpAds_used) document.phpAds_used = ',';

[url removed, login to view] ("<" + "script language='JavaScript' type='text/javascript' src='");

[url removed, login to view] ("[url removed, login to view]");

[url removed, login to view] ("&what=zone:3");

[url removed, login to view] ("&exclude=" + document.phpAds_used);

if ([url removed, login to view])

[url removed, login to view] ("&referer=" + escape([url removed, login to view]));

[url removed, login to view] ("'><" + "/script>");

//-->

</script>

<noscript><a href='[url removed, login to view]' target='_blank'>

<img src='[url removed, login to view]:3&n=a7938262' border='0' alt=''></a></noscript>

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Basic directions on how to use program or script

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

I have a FreeBSD server and can run shell commands (cshell), or even perl from the command line.

Engineering Linux MySQL Perl PHP Software Architecture Software Testing UNIX Web Hosting Website Management Website Testing

Project ID: #3055012

About the project

29 proposals Remote project Active Jan 2, 2004

Awarded to:

jetmark

See private message.

$17 USD in 4 days
(1 Review)
0.5

29 freelancers are bidding on average $45 for this job

softservicesvw

See private message.

$72.25 USD in 4 days
(336 Reviews)
7.7
ndima

See private message.

$25.5 USD in 4 days
(96 Reviews)
6.6
bahe

See private message.

$34 USD in 4 days
(147 Reviews)
6.5
kdz13

See private message.

$27.2 USD in 4 days
(74 Reviews)
6.3
idleswell

See private message.

$40.8 USD in 4 days
(179 Reviews)
6.0
gagikb6321

See private message.

$85 USD in 4 days
(5 Reviews)
5.9
inguza

See private message.

$42.5 USD in 4 days
(22 Reviews)
5.7
bukhtik

See private message.

$84.15 USD in 4 days
(22 Reviews)
5.1
gopikap

See private message.

$21.25 USD in 4 days
(54 Reviews)
5.1
flashmastersvw

See private message.

$68 USD in 4 days
(11 Reviews)
4.8
artemzhavoronkov

See private message.

$29.75 USD in 4 days
(1 Review)
4.5
vw945703vw

See private message.

$42.5 USD in 4 days
(23 Reviews)
4.2
scottyallen

See private message.

$68 USD in 4 days
(8 Reviews)
4.1
abhimanyuvw

See private message.

$17 USD in 4 days
(32 Reviews)
3.7
tvernonvw

See private message.

$42.5 USD in 4 days
(18 Reviews)
3.5
rpasay

See private message.

$42.5 USD in 4 days
(12 Reviews)
3.2
ddavw

See private message.

$68 USD in 4 days
(3 Reviews)
2.2
bwsolutionsvw

See private message.

$42.5 USD in 4 days
(3 Reviews)
1.6
mineraysystems

See private message.

$63.75 USD in 4 days
(2 Reviews)
1.4
atarte

See private message.

$21.25 USD in 4 days
(0 Reviews)
0.0