Mac Help Forums


Reply
Thread Tools Display Modes

Delete Lines Over Multiple Files

 
New Member
Join Date: Jan 2012
Posts: 1
 
      9th January 2012
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.
 
Reply With Quote
 
 
 
 
Senior Member
Kaveman's Avatar
Join Date: Nov 2010
Location: Westland, NZ
Posts: 1,360
 
      9th January 2012
Move them there before you do the edits. Than you just have to close and save them.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to delete .dmg files wtrlmn Mac Applications 3 2nd October 2011 10:49 PM
Applescript to delete and move files appatight AppleScript 0 9th March 2011 09:46 PM
Cannot empty trash (OS10.4.11) GregLO Mac OS X 3 3rd September 2008 09:21 AM
Deleting files with Applescript zeyhra AppleScript 4 4th August 2006 01:24 AM
Can't delete files MikeCaine Hardware and Peripherals 3 29th March 2006 09:49 PM


All times are GMT +1. The time now is 05:56 AM.
Mac-Help.com is an independent website and is not affiliated with Apple Inc.


Welcome!
Welcome to the Mac Help Forums
 


Latest Threads
Help! Stupid computer is automatically logging me out
Elizaboo (7 Hours Ago, 10:41 PM)

URGENT Help. Crazy talk Mac!
Joeker (8 Hours Ago, 09:42 PM)

PDF Document
yura (17 Hours Ago, 12:13 PM)

Difficulties with internet speed (nothing to do with connection)
sammethh (23 Hours Ago, 06:36 AM)

Deleting a homepage/website form my mac book pro
rgandajg (1 Day Ago, 10:30 PM)

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51