Gossamer Forum
Home : General : Perl Programming :

mass replace in a directory...

Quote Reply
mass replace in a directory...
Hi

I have moved my website from a server to another one and I have to do a mass replace in all the files in my cgi-bin directory (and in all the directories wich are in cgi-bin)

I have to replace the following string :
#!/usr/local/bin/perl

by the following one :
#!/usr/bin/perl

How to do it ? via a shell command? if yes what is this command ?

Regards
FMP
Subject Author Views Date
Thread mass replace in a directory... fmp 7330 Nov 29, 2004, 8:46 AM
Thread Re: [fmp] mass replace in a directory...
Andy 7249 Nov 29, 2004, 8:54 AM
Post Re: [Andy] mass replace in a directory...
fmp 7195 Nov 29, 2004, 9:09 AM
Thread Re: [Andy] mass replace in a directory...
socrates 6738 May 19, 2010, 9:51 PM
Thread Re: [socrates] mass replace in a directory...
Andy 6673 May 19, 2010, 10:59 PM
Thread Re: [Andy] mass replace in a directory...
socrates 6626 May 29, 2010, 12:07 AM
Post Re: [socrates] mass replace in a directory...
Andy 6594 May 29, 2010, 12:35 AM