GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Russian Submitter Shell Script (https://gfy.com/showthread.php?t=72709)

FierceHost 08-18-2002 05:49 PM

Russian Submitter Shell Script
 
You know how uploading 300 recip files via ftp for russian submitter can be a pain in the ass, and take about 5 minutes. Well doing it this way is a hell of alot easier. Just follow the steps below in ssh

1. su root
2. vi russiansubmitter.sh
3. enter the following in

# russian submitter download getter and untar/zipper ;)

echo "What is the tgp directory? Ex: /home/virtual/0op.org/var/www/html/lightspeed/1/"
read tgpdir
cd $tgpdir
echo "What is the location of the gallery tar.gz file? without http://tgp.russiansubmitter.com/ Ex: upload/135633/gallery135633.tar.gz"
read targzlocation
wget -O gal.tar.gz http://tgp.russiansubmitter.com/$targzlocation
tar xvfz gal.tar.gz
echo "All done"

4. save file
5. chmod 755 russiansubmitter.sh
6. ./russiansubmitter.sh
7. following instructions

Takes about 10 seconds everytime you do it now, just whenever you wanna untar another gallery, just login root, and type ./russiansubmitter.sh if the shell script file is located in your un home. This also works for the recip files (lifesaver)

klik 08-18-2002 05:55 PM

Thats a great idea there...

But I personally use the time it takes me to upload/submit to play my scratchers at content lotto.

But I'm sure alot of people will find that useful..

Good post. :thumbsup

FierceHost 08-18-2002 05:58 PM

specialy for the 56kers and 28.8 modem people

caca 08-18-2002 06:05 PM

:D

klik 08-18-2002 06:10 PM

Quote:

Originally posted by FierceHost
specialy for the 56kers and 28.8 modem people
People still use 28.8 modems?

I get irritated at the speed of my cable some times.

Its fuckin 2002 damnit! It's not 1997!!

foe 08-18-2002 06:39 PM

Nice script ... Yeh I get pissed off too because my cable is working slow

redshift 08-18-2002 06:42 PM

Nice script

I just cd to the recips dir and use lynx to download the update

HomeGrown 08-18-2002 06:44 PM

Quote:

Originally posted by klik
I get irritated at the speed of my cable some times.
Ya me too.

Sadly not everyone can afford cable. :(

faytl 08-18-2002 06:48 PM

And theres the fact that Australia has been hopeless in the broadbrand side of things up until now... I get DSL this week/next week though... :) :) :)

Nbritte 08-18-2002 09:56 PM

For anyone who doesnt have root access you can also do this with perl if anyone wants a script let me know and I will write it and post it

Brian

chodadog 08-19-2002 12:30 AM

That's a pretty handy trick. Could save a lot of people a fair bit of time!

And yes, my cable connection seems to have mistaken itself for a 28.8 yet again.

X37375787 08-19-2002 12:33 AM

Sweet shit - can you write a shell script that will buy content, build sites and submit them as well ? Oh and it needs to confirm emails too :Graucho

FierceHost 08-19-2002 03:33 AM

honestly yes


All times are GMT -7. The time now is 06:18 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123