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?
Multiple-deletion of specific content in files in a folder
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
It sounds like WildEdit might be a better solution to this problem.
Running TextPad 5.4 on Windows XP SP3 and on OS X 10.7 under VMWare or Crossover.
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
-
- Posts: 5
- Joined: Thu Jul 22, 2010 3:07 pm
-
- Posts: 5
- Joined: Thu Jul 22, 2010 3:07 pm
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.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.