Em Andamento

Code Replacer

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.

Habilidades: Engenharia, Linux, MySQL, Perl, PHP, Arquitetura de software, Teste de Software, UNIX, Hospedagem Web, Gestão de Site , Teste de Website

Ver mais: src program, run shell script from php, recursive program example, how to write code, code line, code 30, example shell script, basic shell script, recursive, escape, shell script perl, perl script shell script, code copyright, write code language, freebsd source, javascript php source code, recursive php, work home perl, script change referer, als, code language, javascript replace recursive, source code shell, cshell, program php shell

Acerca do Empregador:
( 7 comentários ) United States

ID do Projeto: #3055012

Premiar a:

jetmark

See private message.

$17 USD em 4 dias
(1 Comentário)
0.5

29 freelancers estão ofertando em média $45 para este trabalho

softservicesvw

See private message.

$72.25 USD in 4 dias
(336 Comentários)
7.7
ndima

See private message.

$25.5 USD in 4 dias
(96 Comentários)
6.6
bahe

See private message.

$34 USD in 4 dias
(147 Comentários)
6.5
kdz13

See private message.

$27.2 USD in 4 dias
(74 Comentários)
6.3
idleswell

See private message.

$40.8 USD in 4 dias
(179 Comentários)
6.0
gagikb6321

See private message.

$85 USD in 4 dias
(5 Comentários)
5.9
inguza

See private message.

$42.5 USD in 4 dias
(22 Comentários)
5.7
bukhtik

See private message.

$84.15 USD in 4 dias
(22 Comentários)
5.1
gopikap

See private message.

$21.25 USD in 4 dias
(54 Comentários)
5.1
flashmastersvw

See private message.

$68 USD in 4 dias
(11 Comentários)
4.8
artemzhavoronkov

See private message.

$29.75 USD in 4 dias
(1 Comentário)
4.5
vw945703vw

See private message.

$42.5 USD in 4 dias
(23 Comentários)
4.2
scottyallen

See private message.

$68 USD in 4 dias
(8 Comentários)
4.1
abhimanyuvw

See private message.

$17 USD in 4 dias
(32 Comentários)
3.7
tvernonvw

See private message.

$42.5 USD in 4 dias
(18 Comentários)
3.5
rpasay

See private message.

$42.5 USD in 4 dias
(12 Comentários)
3.2
ddavw

See private message.

$68 USD in 4 dias
(3 Comentários)
2.2
bwsolutionsvw

See private message.

$42.5 USD in 4 dias
(3 Comentários)
1.6
mineraysystems

See private message.

$63.75 USD in 4 dias
(2 Comentários)
1.4
ealicli

See private message.

$42.5 USD in 4 dias
(0 Comentários)
0.0