Search & Replace In Large Text Files
#1
Moderator
Thread Starter
iTrader: (5)
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes
on
0 Posts
Search & Replace In Large Text Files
I need to do some 'search & replace' over some plain text files. Some of the files are 1Gb+ so my usual editor (Textpad) gives up and crashes after 250k rows or so.
Is there a simple vbs or dos command I can run over a file(s), without the need to open it/them? Or perhaps some free dedicated software to do the job?
Is there a simple vbs or dos command I can run over a file(s), without the need to open it/them? Or perhaps some free dedicated software to do the job?
#3
Moderator
Thread Starter
iTrader: (5)
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes
on
0 Posts
Cheers Iain. I managed to do it in the end . . . a couple of ways. One was to increase my virtual memory maximum size to 9999Mb so that Textpad didn't crap-out; the other was a command line utility called FART (Find And Replace Text)
FART worked superbly; bashed though the 1Gb text file in seconds, even though it was making millions of replacements Think I'll keep that one for future use
FART worked superbly; bashed though the 1Gb text file in seconds, even though it was making millions of replacements Think I'll keep that one for future use
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Phil3822
General Technical
0
30 September 2015 06:29 PM
alcazar
Computer & Technology Related
2
29 September 2015 07:18 PM