Delete Lines Over Multiple Files

Joined
Jan 9, 2012
Messages
1
Reaction score
0
I am a newbie when it comes to AUTOMATOR and I need some help.

I have a large number of files which contain lines of text prefixed by [OTHER}. The remaining text on each line is different with the common denominator being the prefix [OTHER}.

I have been able to find all the files which have the particular extension [IES]. I then had all the files "Open Files in BBEdit", followed by "Get Content of BBEdit Document", and then performed "Delete Files Containing". When I reviewed the results in the "Delete Lines Containing" I see that all the lines were removed successfully. My problem is I need to save the individual files back to a directory titled "Edited Files".

I have checked the HELP in AUTOMATOR but I have been unable to arrive at solution..

Can anyone help.

Many thanks in anticipation of your help.
 
Joined
Nov 26, 2010
Messages
3,558
Reaction score
52
Move them there before you do the edits. Than you just have to close and save them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top