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 Mark Forums Read
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 01-03-2005, 03:38 PM   #1
Wolfy
Confirmed User
 
Wolfy's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
F@#$! Please help I made a mistake - find and replace across a set of files

How do I do that? the files are .html, and I made the same mistake on all of them- - ALLLLLLLLLLLLLL OF THEM!!!!!! Can I do a "find and replace" across the whole batch of files? How?!
Wolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:38 PM   #2
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
homesite has a NICE find and replace function
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:41 PM   #3
NaughtyRob
Two fresh affiliate progs
 
NaughtyRob's Avatar
 
Industry Role:
Join Date: Nov 2004
Location: Inside teen pussy
Posts: 29,602
Its very easy. Do you use Dreamweaver?
NaughtyRob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:43 PM   #4
Jon2
So Fucking Banned
 
Join Date: Aug 2001
Posts: 2,875
http://downloads-zdnet.com.com/Simpl...ml?tag=lst-0-1

5 day trial

Jon
Jon2 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:43 PM   #5
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
http://www.sausagehosting.com/multi-...d-replace.html

?? might work
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:43 PM   #6
xclusive
Too lazy to set a custom title
 
Join Date: Apr 2004
Location: Buffalo, NY
Posts: 35,218
what program do you use?
__________________

I support MediumPimpin.com / Shemp's Outlawtgp.com /


xclusive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:45 PM   #7
MickeyG
Confirmed User
 
Join Date: May 2004
Location: South Florida
Posts: 4,134
Best Search and replace on the planet. Lets you replace paragraphs of text at a time.

http://www.serpik.com/htmlsr/

your welcome.
MickeyG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:45 PM   #8
Wolfy
Confirmed User
 
Wolfy's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
I have most programs, using DW at the moment.
Wolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:46 PM   #9
Wolfy
Confirmed User
 
Wolfy's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
Quote:
Originally Posted by ContentProducer
Its very easy. Do you use Dreamweaver?

Yes, how do you do it please?
Wolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:47 PM   #10
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Depending.. you may want to also have a look at either..

(a) Search And Replace
(b) CodeSwitcher
__________________
XXX TLD's - Another mosquito to swat.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:56 PM   #11
Wolfy
Confirmed User
 
Wolfy's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
Basically - I have a folder with about 200 pages I just finished editing, and I screwed something up in the process - so I need to search and replace across the whole folder in every .html file. How do I do this in DW?
Wolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 03:58 PM   #12
NaughtyRob
Two fresh affiliate progs
 
NaughtyRob's Avatar
 
Industry Role:
Join Date: Nov 2004
Location: Inside teen pussy
Posts: 29,602
Quote:
Originally Posted by Wolfy
Basically - I have a folder with about 200 pages I just finished editing, and I screwed something up in the process - so I need to search and replace across the whole folder in every .html file. How do I do this in DW?
Oh shit, I have only done it on one page. Someone else will need to tell you how to do a whole folder.

NaughtyRob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 04:03 PM   #13
Wolfy
Confirmed User
 
Wolfy's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
yeah I have a knack for screwing things up beyond most people's normal range of comprehension :P
Wolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 04:04 PM   #14
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by SmokeyTheBear

Try this , i just used it to do exactly what you need done.

Its a demo , but it works fine..

Replaced link text on 500 pages
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 04:05 PM   #15
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
DW is probably the best bet if you made them there.
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 04:11 PM   #16
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
Tom from Tomsnewbiebooster made a nice little tutorial on how to do batch replacements.. http://www.tomsnewbiebooster.com/sr-win-tutorial.html
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 04:14 PM   #17
Paco, of Large Cash.
Confirmed User
 
Paco, of Large Cash.'s Avatar
 
Join Date: Jun 2002
Location: --> . <--
Posts: 2,267
1). Open one of the documents which resides in the folder with all the others.
2). Click EDIT>FIND AND REPLACE, or simply CTRL-F.
3). FIND IN: Folder - click on the folder (once you have opened the folder simply click SELECT.
4). SEARCH FOR TEXT: enter the EXACT text (include spaces if need be).
5). Pick INSIDE TAG or NOT INSIDE TAG -- Also, from the next pull down, pick the ANY TAG option.
6). REPLACE WITH: enter the new text.
7). pick your options (I always use MATCH CASE!)
For the next step I use FIND ALL, not REPLACE ALL so I can verify the files.
all done.
Paco, of Large Cash. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 04:17 PM   #18
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
open them all up in homesite, click search and replace...enter the before text, then the after text....then hit go
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 04:26 PM   #19
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
by far the best tool ever:



let me know if you're not fixed I'll upload it for you
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 04:32 PM   #20
Antonio
Too lazy to set a custom title
 
Antonio's Avatar
 
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
btw it does not reqire installation
you just copy 5-6 tiny files into your folder and you're done (170 kb total - just checked)
Antonio is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 05:31 PM   #21
Wolfy
Confirmed User
 
Wolfy's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
Ok, I tried that srwin program, that does the job fairly well. Only problem is I can only do one line at a time... How about this.

What do you guys use to do the same type of work, go through a whole folder full of html files, but add (for instance) meta tags to the whole batch?
Wolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 05:38 PM   #22
Rorschach
So Fucking Banned
 
Join Date: Aug 2002
Posts: 5,579
$ man sed
Rorschach is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 05:38 PM   #23
Wolfy
Confirmed User
 
Wolfy's Avatar
 
Industry Role:
Join Date: Dec 2003
Location: Wisconsin
Posts: 3,574
ex: if I want to take this part of the files (a.html, b.html, c.html, d.html, etc) -
<html>
<head>
<title>some page</title>


and replace it with
<html>
<head>
<title>some page</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="generator" content="vBulletin 3.0.3" />
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft,bu lletin board" />

or whatever happens to be going there, of course.

How do you do that? Do any of the programs alre3ady mentioned do that?

Last edited by Wolfy; 01-03-2005 at 05:40 PM..
Wolfy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 05:38 PM   #24
Top Jimmy
Confirmed User
 
Join Date: Dec 2004
Location: Down your street
Posts: 2,513
Quote:
Originally Posted by Wolfy
Ok, I tried that srwin program, that does the job fairly well. Only problem is I can only do one line at a time... How about this.

What do you guys use to do the same type of work, go through a whole folder full of html files, but add (for instance) meta tags to the whole batch?

Homesite. extended find and replace. Just highlight what you need to replace, it will put it all in the top box cr's and everything.

In the bottom box put what you want to replace it with. Click html files and do sub dirs, select the main dir and hit go. Just don't fuck up a second time or yer really fucked.
__________________

Don't reply. Let it die.
Top Jimmy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 05:39 PM   #25
MickeyG
Confirmed User
 
Join Date: May 2004
Location: South Florida
Posts: 4,134
Quote:
Originally Posted by Wolfy
Ok, I tried that srwin program, that does the job fairly well. Only problem is I can only do one line at a time... How about this.

What do you guys use to do the same type of work, go through a whole folder full of html files, but add (for instance) meta tags to the whole batch?
check out my post wayy above. I already posted the software you need. It will let you replace blocks of text within subfolders and will fix your problem 100%
MickeyG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 05:39 PM   #26
Top Jimmy
Confirmed User
 
Join Date: Dec 2004
Location: Down your street
Posts: 2,513
Macromedia bought homesite, and incorporated homesites extended into DW.

It should work the same. all the options are on the side. Not sure I ain't lookin' at it.

Good luck
__________________

Don't reply. Let it die.
Top Jimmy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 06:03 PM   #27
Sosa
In Tushy Land
 
Sosa's Avatar
 
Join Date: Oct 2002
Location: Nebraska
Posts: 40,149
hey guys I have a simliar problem... I have a lot of lines of code I need to replace on about 90 pages. But they are in each of their own sub directories. Who got a program do do search/replace of HTML code and look through subdirectories for .html files.
Sosa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 09:30 PM   #28
Sosa
In Tushy Land
 
Sosa's Avatar
 
Join Date: Oct 2002
Location: Nebraska
Posts: 40,149
bump bump bump
Sosa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 11:21 PM   #29
killshot
Confirmed User
 
Industry Role:
Join Date: Dec 2004
Location: OGG / PDX
Posts: 456
my admin did find and replace on about 10,000 files on my server in just a couple minutes... some little command you can do in linux

I have no idea how he did it though..
__________________
killshot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 11:24 PM   #30
Webby
Too lazy to set a custom title
 
Join Date: Oct 2002
Location: Far far away - as possible
Posts: 14,956
Sosa:

Quote:
hey guys I have a simliar problem... I have a lot of lines of code I need to replace on about 90 pages. But they are in each of their own sub directories. Who got a program do do search/replace of HTML code and look through subdirectories for .html files.
CodeSwitcher.

On the condition that.... the code to be replaced on the 90 pages is unique and not contained within any other pages of these directories.
__________________
XXX TLD's - Another mosquito to swat.
Webby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-03-2005, 11:26 PM   #31
AndrewKanuck
Confirmed User
 
Join Date: Jan 2004
Location: Cleveland & Atlanta
Posts: 6,706
Get to know sed and awk.
__________________
AndrewKanuck 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
Thread Tools



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.