Page 1 of 1

Multiple-deletion of specific content in files in a folder

Posted: Tue Jul 27, 2010 1:42 pm
by tonynapa
Hi there. I was trying to find a solution in a problem that i had have for 2-3 days.

Here is my problem:
I have a folder with 3.5Gb of files (aprox. 1000 files) and i want to delete certain lines in each file in the same folder.
I used a macro that i created, that basically is bookmarking all the lines that i want to delete, (i.e lines that contain zeros) deleting them and saving them; but is only work for each file. So i must open one by one file.

How can i delete all the files from my folder my once?

Posted: Tue Jul 27, 2010 3:03 pm
by SteveH
It sounds like WildEdit might be a better solution to this problem.

Posted: Wed Jul 28, 2010 8:11 am
by tonynapa
I just download it, but because is a trial version i cannot use it for file more than 10kb.

Posted: Tue Aug 03, 2010 1:43 am
by Bob Hansen
So, test it out on some 10K files.

If it works, then purchase it for use on the larger files.

Posted: Tue Aug 03, 2010 10:35 am
by PaulBrewer44
Can't you open all files, then find a replace in all documents

eg find .+0.+\n
replace with (nothing!)

Obviously assuming here you are looknig to delete all lines with the string 000.

Posted: Thu Aug 05, 2010 1:06 pm
by PaulBrewer44
PaulBrewer44 wrote:Can't you open all files, then find a replace in all documents

eg find .+0.+\n
replace with (nothing!)

Obviously assuming here you are looknig to delete all lines with the string 000.
meant to add you need to open all files and select "all documents" in the find and replace dialogue box. I think it will work but it might take a while, not sure.