Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-04-2008, 07:08 PM   #1
POed-poster
Confirmed User
 
POed-poster's Avatar
 
Join Date: Feb 2005
Posts: 1,588
Mass edit software for OSX

Anyone know where I can get a mac-based program that will allow me to mass edit an identical string of characters over hundreds of pages and directories?
POed-poster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-04-2008, 07:16 PM   #2
gleem
Confirmed User
 
gleem's Avatar
 
Industry Role:
Join Date: Jun 2001
Location: Sunny Land
Posts: 5,593
I use BBEdit to do that assuming it's anything but word/excel docs.
__________________




Contact me: \\// E: webmaster /at/ unprofessional.com
gleem is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2008, 08:25 AM   #3
POed-poster
Confirmed User
 
POed-poster's Avatar
 
Join Date: Feb 2005
Posts: 1,588
Any other suggestions?
POed-poster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2008, 08:52 AM   #4
rhcp011235
Confirmed User
 
rhcp011235's Avatar
 
Industry Role:
Join Date: Sep 2007
Location: North Carolina
Posts: 538
Try textwrangler
__________________
Skype rhcp011235 | Cell Phone 212.812.9043 | Email [email protected]
rhcp011235 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2008, 09:19 AM   #5
JasonB
Confirmed User
 
Industry Role:
Join Date: Nov 2001
Posts: 1,183
bbedit for sure. textmate possibly also. can probably do it in terminal too with a bit of google searching
JasonB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-05-2008, 09:34 AM   #6
rhcp011235
Confirmed User
 
rhcp011235's Avatar
 
Industry Role:
Join Date: Sep 2007
Location: North Carolina
Posts: 538
Learn bash for the term. for i in `ls -1` RULES!
__________________
Skype rhcp011235 | Cell Phone 212.812.9043 | Email [email protected]
rhcp011235 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-06-2008, 11:00 PM   #7
POed-poster
Confirmed User
 
POed-poster's Avatar
 
Join Date: Feb 2005
Posts: 1,588
Just found some perfect freeware

TexFinderX

BBEdit is a great tool but it is not free. If I was looking for an editor, that would be one thing, but I would only ever use it for search and replace purposes.
POed-poster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-07-2008, 01:48 AM   #8
poornpig
Confirmed User
 
poornpig's Avatar
 
Join Date: Sep 2007
Location: EU
Posts: 131
Quote:
Originally Posted by POed-poster View Post
Anyone know where I can get a mac-based program that will allow me to mass edit an identical string of characters over hundreds of pages and directories?
Use the power of sed and awk. these are preinstalled on every Mac Os.

E.g. You have a directory called "$DIRECTORY", which is full of html files. in each of them you would like to substitute the sting "Example Title" to "My Title" then you could do this one liner in your terminal:

cd $DIRECTORY; ls -1 *.html | while read line; do sed -e 's/Example Title/My Title' "$line" > "$line.tmp"; mv -v "$line.tmp" "$line";done

This does substitute Example Title through My Title outputs it to filename.tmp and moves filename.tmp to filename.
__________________
recip free directory | webmaster (on) sexyrails (in) com (use PGP)
poornpig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.