Oprano Front Page


Go Back   Oprano Adult Industry Forums > The Business Of Porn - Closed For Posting > Legacy Archived Main Board

Notices

Legacy Archived Main Board Business chat and general industry chat. All participation is welcome. Dont post your fucking spam here.





Check Out YnotMail

The Original Oprano Flat Board (Thanks To Sarettah!)---
Oprano Swag Shop
"History Of Porn Timeline
Reply
 
Thread Tools Display Modes
Old 05-03-2005   #1
JizBiz
Members
 
Join Date: Jan 2005
Posts: 242
Default

Hey ladies and gents.

Anyone know of a solution to search and replace links across a server with several domains on it?..

We have it incorporated into a custom solution but wont be ready for several days/weeks.

Any thoughts or ideas would be appreciated.
__________________
Got Questions?...Need Answers from people in the know? Check out Opranos Webmaster Help and Assistance Forum
JizBiz is offline   Reply With Quote
Old 05-03-2005   #2
Nickatilynx
Banned
Want to see your own Advertising Here!
 
Nickatilynx's Avatar
 
Join Date: Oct 2002
Location: Vancouver Canada
Posts: 15,115
Default

Here's how I do it.....

""""Technick ,you homo bastard!!! I want every single mother fucking link on every fucking domain we have changed , right fucking now , or my foot is gonna pay a visit at high speed to your scrotum"""

I then find it helps to stand behind making noises like a quiz show clock ticking down whilst stretching ,warming up and putting on my special "nut kicking" shoes...(opera slippers don't cause that castrato squeal that i do try to obtain with my nut kicking)


;-))))
Nickatilynx is offline   Reply With Quote
Old 05-03-2005   #3
Nickatilynx
Banned
Want to see your own Advertising Here!
 
Nickatilynx's Avatar
 
Join Date: Oct 2002
Location: Vancouver Canada
Posts: 15,115
Default

Oh and people that have worked at the offices in Vancouver know I'm not really exagerrating.

;-)))
Nickatilynx is offline   Reply With Quote
Old 05-04-2005   #4
JizBiz
Members
 
Join Date: Jan 2005
Posts: 242
Default

Quote:
Originally posted by Nickatilynx@May 3 2005, 10:52 PM
Here's how I do it.....

""""Technick ,you homo bastard!!! I want every single mother fucking link on every fucking domain we have changed , right fucking now , or my foot is gonna pay a visit at high speed to your scrotum"""

I then find it helps to stand behind making noises like a quiz show clock ticking down whilst stretching ,warming up and putting on my special "nut kicking" shoes...(opera slippers don't cause that castrato squeal that i do try to obtain with my nut kicking)


;-))))
Sounds quite familiar.....

""""JizBiz ,you aboot talkin homo bastard!!! I want every single mother fucking link on every fucking domain we have changed , right fucking now mate, or me BAR B is gonna pay your IGLOO a visit via dial up to your scrotum"""

But he cant stand behind me cause theres 3 weeks worth of ocean between us...haha

But you can see why im looking
__________________
Got Questions?...Need Answers from people in the know? Check out Opranos Webmaster Help and Assistance Forum
JizBiz is offline   Reply With Quote
Old 05-04-2005   #5
Nickatilynx
Banned
Want to see your own Advertising Here!
 
Nickatilynx's Avatar
 
Join Date: Oct 2002
Location: Vancouver Canada
Posts: 15,115
Default

Quote:
Originally posted by JizBiz+May 3 2005, 08:03 PM-->
QUOTE (JizBiz @ May 3 2005, 08:03 PM)
Nickatilynx is offline   Reply With Quote
Old 05-04-2005   #6
Mr Benn
Members
 
Mr Benn's Avatar
 
Join Date: Oct 2003
Posts: 113
Default

for i in `grep -ir olddirectory/subdir/link1.html /www/vhosts/ | cut -d":" -f1 | sort | uniq`; do cat $i | sed -e 's/olddirectory\/subdir\/link1.html/newdirectory\/newlink1.html/g' > .tmp$$; mv -f .tmp$$ $i; done

That would search all files in /www/vhosts (and all subdirectories) for the string "olddirectory/subdir/link1.html", produce a unique list of filenames with full path, replace the string you searched for with "newdirectory/newlink1.html", write the new output to a temp file, then overwrite the original file with your new one.
__________________
MrBenn

"As if by magic, the shopkeeper appeared."
Mr Benn is offline   Reply With Quote
Old 05-04-2005   #7
Trev
Cunty
Want to see your own Advertising Here!
 
Trev's Avatar
 
Join Date: Jan 2003
Posts: 10,150
Default

Quote:
Originally posted by Mr Benn@May 4 2005, 11:32 AM
for i in `grep -ir olddirectory/subdir/link1.html /www/vhosts/ | cut -d":" -f1 | sort | uniq`; do cat $i | sed -e 's/olddirectory\/subdir\/link1.html/newdirectory\/newlink1.html/g' > .tmp$$; mv -f .tmp$$ $i; done

That would search all files in /www/vhosts (and all subdirectories) for the string "olddirectory/subdir/link1.html", produce a unique list of filenames with full path, replace the string you searched for with "newdirectory/newlink1.html", write the new output to a temp file, then overwrite the original file with your new one.
__________________
Sucks to be you.
Trev is offline   Reply With Quote
Old 05-04-2005   #8
Cleo
Omnipotent Ruler Of Perversion
 
Cleo's Avatar
 
Join Date: Oct 2002
Location: SouthEast Florida
Posts: 810
Default

I tried a few browser based solutions but they all seemed to have issues.

This seems to always work.
http://www.sponsororganizer.com/Free...s/s_and_r.html
Cleo is offline   Reply With Quote
Old 05-04-2005   #9
JizBiz
Members
 
Join Date: Jan 2005
Posts: 242
Default

Quote:
Originally posted by Cleo@May 4 2005, 06:46 AM
I tried a few browser based solutions but they all seemed to have issues.

This seems to always work.
http://www.sponsororganizer.com/Free...s/s_and_r.html
Awesome MrBenns answer was great too, i figured it out a minute befor you posted this..heh

Thanks all.
__________________
Got Questions?...Need Answers from people in the know? Check out Opranos Webmaster Help and Assistance Forum
JizBiz is offline   Reply With Quote
Old 05-04-2005   #10
Inabon
One Miiiiiiiiilllllliiiiiiooooonnnnn Dollars
 
Inabon's Avatar
 
Join Date: Jul 2004
Location: Panamá
Posts: 1,585
Default

Quote:
Originally posted by Trev+May 4 2005, 06:42 AM-->
QUOTE (Trev @ May 4 2005, 06:42 AM)
Inabon is offline   Reply With Quote
Old 05-04-2005   #11
Cleo
Omnipotent Ruler Of Perversion
 
Cleo's Avatar
 
Join Date: Oct 2002
Location: SouthEast Florida
Posts: 810
Default

Here is a browser based solution that I bought.
http://cgi.veinotte.com/web_file_editor.htm

Works most of the time but seems to not work sometimes for no reason at all.
Cleo is offline   Reply With Quote
Old 05-04-2005   #12
Newton
It's always business, never personal!
The POWER of radio Oprano Radio
 
Newton's Avatar
 
Join Date: Aug 2004
Location: On a golf course
Posts: 4,916
Default

Mr Benn is a very sharp guy A pleasure to deal with as well.
Newton is offline   Reply With Quote
Old 05-04-2005   #13
BillPMB
Members
 
Join Date: Dec 2002
Posts: 308
Default

http://www.webcamsinc.com/sandr.zip (right click, save as)

Run it from an ssh session from your ftp root, take a look at it and you'll get it.
It'll change anything server wide.

Of course it's even easier to treat html as php from the get go and use includes but that's another discussion.
BillPMB is offline   Reply With Quote
Old 05-04-2005   #14
Trev
Cunty
Want to see your own Advertising Here!
 
Trev's Avatar
 
Join Date: Jan 2003
Posts: 10,150
Default

Quote:
Originally posted by BillPMB@May 4 2005, 02:54 PM
http://www.webcamsinc.com/s_r.pl (right click, save as)

Run it from an ssh session from your ftp root, take a look at it and you'll get it.
It'll change anything server wide.

Of course it's even easier to treat html as php from the get go and use includes but that's another discussion.
I'm getting an internal server error on that link Bill
__________________
Sucks to be you.
Trev is offline   Reply With Quote
Old 05-04-2005   #15
PornoDoggy
Cramming 3 people in a Room to Attend Show
Want to see your own Advertising Here!
 
PornoDoggy's Avatar
 
Join Date: Oct 2002
Location: Amid the Cornfields of Illinois
Posts: 5,366
Default

Quote:
Originally posted by Cleo@May 4 2005, 07:40 AM
Here is a browser based solution that I bought.
http://cgi.veinotte.com/web_file_editor.htm

Works most of the time but seems to not work sometimes for no reason at all.
I haven't had many problems with it ... been using it for about three years, but only on a per-domain basis.
__________________
SEX STORY TEXT Exotic Material for Adult Websites

Available for part time (project or ongoing) work ...

PornoDoggy is offline   Reply With Quote
Old 05-04-2005   #16
DrGuile
french with welsh tendancies
 
DrGuile's Avatar
 
Join Date: Oct 2002
Posts: 2,007
Default

Quote:
Originally posted by Trev+May 4 2005, 09:35 AM-->
QUOTE (Trev @ May 4 2005, 09:35 AM)
__________________

LiveBucks / Privatefeeds - Giving you money since 1999
Up to 40% Commission!
25% Webmaster Referal
DrGuile is offline   Reply With Quote
Old 05-04-2005   #17
Trev
Cunty
Want to see your own Advertising Here!
 
Trev's Avatar
 
Join Date: Jan 2003
Posts: 10,150
Default

Quote:
Originally posted by DrGuile+May 4 2005, 03:41 PM-->
QUOTE (DrGuile @ May 4 2005, 03:41 PM)
Quote:
Originally posted by Trev@May 4 2005, 09:35 AM
__________________
Sucks to be you.
Trev is offline   Reply With Quote
Old 05-04-2005   #18
JizBiz
Members
 
Join Date: Jan 2005
Posts: 242
Default

Quote:
Originally posted by DrGuile+May 4 2005, 09:41 AM-->
QUOTE (DrGuile @ May 4 2005, 09:41 AM)
Quote:
Originally posted by Trev@May 4 2005, 09:35 AM
__________________
Got Questions?...Need Answers from people in the know? Check out Opranos Webmaster Help and Assistance Forum
JizBiz is offline   Reply With Quote
Old 05-04-2005   #19
BillPMB
Members
 
Join Date: Dec 2002
Posts: 308
Default

Dunno what that crap was all about. See my original post, right click and save as. (I zipped it and that did the trick)

Friggin' mountain dew drinking programmers getting in the way of productivity again.

Fuckers.

BillPMB is offline   Reply With Quote
Old 05-04-2005   #20
DrGuile
french with welsh tendancies
 
DrGuile's Avatar
 
Join Date: Oct 2002
Posts: 2,007
Default

Quote:
Originally posted by JizBiz@May 4 2005, 10:07 AM

Still doesnt work

ya know?..lol
Well no, obviously I didnt know
__________________

LiveBucks / Privatefeeds - Giving you money since 1999
Up to 40% Commission!
25% Webmaster Referal
DrGuile is offline   Reply With Quote
Reply

Bookmarks
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 On
Forum Jump


All times are GMT -4. The time now is 03:35 PM..


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright Evil Empire Inc. 2006-2022