The command would be something like this:
find /wwwdir -name \*.txt -print | xargs sed -i s/oldtext/newtext/gi
Matt
Sent via BlackBerry by AT&T
-Original Message-
From: Steve
Date: Sat, 12 Jun 2010 15:24:39
To:
Subject: Re: [PHP] How to change the first line of a text file
On
eve
Date: Sat, 12 Jun 2010 15:24:39
To:
Subject: Re: [PHP] How to change the first line of a text file
On 6/12/2010 2:10 PM, Richard Kurth wrote:
>
> I have around 6000 text files and I need to change the first line on
> every one of them.
>
> The first line is the title of the ar
On 6/12/2010 2:10 PM, Richard Kurth wrote:
I have around 6000 text files and I need to change the first line on
every one of them.
The first line is the title of the article and I need it look like
this the name of the article
every file has the first line and the it starts the article on
On Sat, 2010-06-12 at 14:10 -0700, Richard Kurth wrote:
> I have around 6000 text files and I need to change the first line on every
> one of them.
>
> The first line is the title of the article and I need it look like this
> the name of the article
>
> every file has the first line and the it
I have around 6000 text files and I need to change the first line on every
one of them.
The first line is the title of the article and I need it look like this
the name of the article
every file has the first line and the it starts the article on the second
line
The files are in many dir
5 matches
Mail list logo