![]() |
![]() |
![]() |
||||
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 |
So Fucking Banned (YEA!!)
Join Date: Jun 2004
Posts: 10,963
|
How To take one HTML file and duplicate it into 20 copies all named differently?
Is there something that does this?
I want to take an any.html file Duplicate it and have it renamed to freeporn.html teenporn.html freesex.html etc etc, all names taht i insert.
__________________
Care about me? Who? Me! Who? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
wtf
Industry Role:
Join Date: Sep 2001
Location: Bikini State, FL USA
Posts: 10,914
|
chamelion submitter
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
how do you want it to create the new names ? random? or from a text file?
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
So Fucking Banned (YEA!!)
Join Date: Jun 2004
Posts: 10,963
|
Quote:
Chameleon is also a submitter
__________________
Care about me? Who? Me! Who? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
So Fucking Banned (YEA!!)
Join Date: Jun 2004
Posts: 10,963
|
Quote:
from a text file
__________________
Care about me? Who? Me! Who? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Marketing & Strategy
Industry Role:
Join Date: Jun 2001
Location: Former nomad
Posts: 14,293
|
Quote:
__________________
Whitehat is for chumps If you don't do it, somebody else will - true story!
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Outside looking in.
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
|
in the time you have waited for an answer you could have used that awesome feature we all have. Copy and paste!!!
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
So Fucking Banned (YEA!!)
Join Date: Jun 2004
Posts: 10,963
|
Quote:
![]() ![]() ![]()
__________________
Care about me? Who? Me! Who? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
wtf
Industry Role:
Join Date: Sep 2001
Location: Bikini State, FL USA
Posts: 10,914
|
Quote:
I've thoroughly looked and could not find this in an off the shelf script anywhere. Make a text file with the names you want the copied pages and CS will duplicate and rename them accordingly. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
I could create something for you if you want.. I might have something for that hold on..
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Wouldnt you rather it be a little random , ? Like maybe make every file the same but the title of the page be the title of the name of the file ?
__________________
hatisblack at yahoo.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Outside looking in.
Industry Role:
Join Date: Feb 2005
Location: To Hell You Ride
Posts: 14,243
|
Quote:
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
So Fucking Banned (YEA!!)
Join Date: Jun 2004
Posts: 10,963
|
Quote:
__________________
Care about me? Who? Me! Who? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Marketing & Strategy
Industry Role:
Join Date: Jun 2001
Location: Former nomad
Posts: 14,293
|
Got it! Check your ICQ.
![]()
__________________
Whitehat is for chumps If you don't do it, somebody else will - true story!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: Sep 2003
Location: amerinoc.com
Posts: 419
|
Code:
#!/usr/local/bin/perl $file_orig = "_somefile.html"; $files = "filename_list.txt open (FILE, $files); @allfiles=<FILE>; close(FILE); foreach $name (@allfiles) { chop($name); system("/bin/cp $file_orig $name"); } exit; |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Join Date: Jul 2002
Location: Fantasy Island
Posts: 1,770
|
do a search on google for a doorway page generator.
__________________
Get A $25 Circuit City GIFT Card - FREE! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Too lazy to set a custom title
Industry Role:
Join Date: May 2001
Location: My network is hosted at TECHIEMEDIA.net ...Wait, you meant where am *I* located at? Oh... okay, I'm in Winnipeg, Canada. Oops. :)
Posts: 51,460
|
Quote:
![]() Seriously, I could have had 20 copies of the same page renamed and saved in fifteen minutes at the most, including a pee break.
__________________
Promote Wildmatch, ImLive, Sexier.com, and more!! ![]() ALWAYS THE HIGHEST PAYOUTS: Big Bux/ImLive SIGNUP ON NOW!!! ![]() Put some PUSSYCA$H in your pocket. ICQ me at: 31024634 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Industry Role:
Join Date: Sep 2003
Location: amerinoc.com
Posts: 419
|
Quote:
Code:
$files = "filename_list.txt Code:
$files = "filename_list.txt"; |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: Aug 2002
Posts: 5,235
|
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 20 done! send money paypal now! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: Jul 2001
Location: See sig
Posts: 6,989
|
I made a little VB script once that duplicated a file and renamed it using 1000's of different keyword combos. It made me a LOT of dialler mins back in the free napster days
![]() Hmmm...can't find it now though. If it turns up I'll hit you up and send a copy. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
visit hardlinks.org
Industry Role:
Join Date: Jun 2003
Location: Las Vegas , Nv >>> [email protected] or icq 94994627 anytime
Posts: 18,362
|
hit up manuel from oxeo.com , he'll write a script for you very quickly.
his icq is 20214646 ~Ray |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: Jul 2003
Location: chicago
Posts: 1,135
|
it'd probably be easier to use .htaccess ... that way when you need to edit it, you wont be having to change 20 different files, creating symbolic links would work well too
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
ICQ- five seven 0 2 5 5 0
Join Date: Jan 2001
Posts: 10,747
|
if you haven't found anything yet, beep me on ICQ at 5702550, I think I have a little mass/renaming tool in VB that could work...I'll go look for it now...
__________________
Investor with 5m - 15m USD to invest. Do you have a site or network of sites earning 50k - 200k a month income? Email your contact and preliminary data to: domain.cashventures (at) gmail.com....Please...no tire kickers...serious offers and inquiries only. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Confirmed User
Join Date: Jul 2003
Location: chicago
Posts: 1,135
|
if a redirect is fine, you can do this in .htaccess
Code:
Redirect /folder/faggot.html http://www.mydomain.com/folder/mainpage.html |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,482
|
Quote:
__________________
seks.ai for sale - ping me |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
Confirmed User
Join Date: Dec 2004
Location: Vancouver
Posts: 4,325
|
Quote:
http://hp.vector.co.jp/authors/VA014...lish/FlexRena/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
So Fucking Banned (YEA!!)
Join Date: Jun 2004
Posts: 10,963
|
Yea i already got what i need.
When you need to name 150 different files into 20 different names time ads up. Thanks all.
__________________
Care about me? Who? Me! Who? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 | |
Confirmed User
Industry Role:
Join Date: Sep 2003
Location: amerinoc.com
Posts: 419
|
Quote:
in _template.html this will be your original file you start with, The title line needs to be: <title>%%TITLE%%</title> In the filelist, which I called filename_list.txt, the file needs to look like this: Code:
someword1.html||Title for someword1 file goes here someword2.html||Title for someword2 file goes here someword3.html||Title for someword3 file goes here Here is the modified script .. going out for the rest of the day right now, didn't test it, but it should work.... Code:
#!/usr/local/bin/perl $template = "_template.html"; $files = "filename_list.txt open (TPL, $template); @tpllines=<TPL>; close(TPL); open (FILE, $files); @allfiles=<FILE>; close(FILE); foreach $list (@allfiles) { chop($list); ($name,$title) = split(/||/, $list); open (NEWFILE, ">${name}"); foreach $line (@tpllines) { chop($line); $line =~ s/%%TITLE%%/$title/; print NEWFILE "$line\n"; } close(NEWFILE); } exit; |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
Bon temps!
Join Date: Feb 2003
Location: down yonder
Posts: 14,194
|
Only talking 20 files or so and want them named various things rather than sequentially numbered, I would just go for copy & hit Crtl+V 19 times and rename them manually.
__________________
. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,482
|
Quote:
Thanks.
__________________
seks.ai for sale - ping me |
|
![]() |
![]() ![]() ![]() ![]() ![]() |