|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
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?
|
|
|
|
|
|
#2 |
|
Confirmed User
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 |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Feb 2005
Posts: 1,588
|
Any other suggestions?
|
|
|
|
|
|
#4 |
|
Confirmed User
Industry Role:
Join Date: Sep 2007
Location: North Carolina
Posts: 538
|
Try textwrangler
__________________
Skype rhcp011235 | Cell Phone 212.812.9043 | Email [email protected]
|
|
|
|
|
|
#5 |
|
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
|
|
|
|
|
|
#6 |
|
Confirmed User
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]
|
|
|
|
|
|
#7 |
|
Confirmed User
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. |
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: Sep 2007
Location: EU
Posts: 131
|
Quote:
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. |
|
|
|
|