General :: Script For Automated Torrent Downloads (from Announce Urls In IRC)
Oct 12, 2010
Some time ago I read a discussion in /r/linux and someone mentioned a script that checks new messages in IRC channel (in irssi client) and if they contain announce urls for torrents, they are passed to a torrent client (rtorrent) for downloading. Sadly, I didn't bookmark it, nor I could find it now. Maybe someone has a similar script?
I'm trying to upgrade to F11, and I'm having trouble. I attempted to download the x86_64 DVD .iso image by bit torrent, and it seemed okay, but when I started the installation the DVD failed the initial integrity check. I tried a second time with another DVD and got the same result.I tried running md5sum on the .iso image, but the response did not match what was in the CHECKSUM file that came with the .iso image -- should it? I tried downloading a live DVD image for comparison and found the same result - the response to the md5sum command did not match what was listed in the CHECKSUM file.Should these checksums match, or am I comparing apples and oranges? I thought the bit torrent client was supposed to check the files, but I'm not sure about that.
I'm using wget to retrieve a long list of URLs, a small proportion of which fail, hence:
Code: wget --input-file=urls.txt Is there a way to log the urls that have failed? Unfortunatley wget does not output the current URL being processed (and then the status), so hard to see grepping the output helping.
Or should I use some alternative like curl, wmget?
I use deluge and it worked for a while then randomly I got this error message when trying to download a .torrent file:"/tmp/Manchester_Orchestra___I_m_Like_A_Virgin_Losing_A_ ___-1.torrent could not be opened, because an unknown error occurred.Try saving to disk first and then opening the file."
I have a script(urls.sh) scheduled to run with Crontab at every hour. The script is all good and executes manually with [root@server cron.hourly]# ./urls.sh But the scrip is not executing according to schedule. This is what I see in /var/log/cron every hour:crond[4729]: (root) CMD (run-parts /etc/cron.hourly/urls.sh)My crontab look likes this:
I am making some scripts to automaticly install linux-software.gcc,kernel,binutils, etc.) I have made a command to extract the packages, but how can I check if I can re-use my already extracted source-archives?
So I have a script that is supposed to check to see if a mail server is up and responsive. What I want to know is how I can send it the telnet escape character. I've tried:VAR=`(sleep 5;echo quit) | (telnet mailserver.timbuktu.net 25 2>&- )`
This works BUT there is a problem as the mail server may have been accidentally firewalled off. If this happens, my automated checking script will hang. What I want to do is send the escape character so that the '>' prompt comes up. They I should be able to send it "quit" even if it is hung on not getting a response from the server. VAR=`(sleep 5;echo -e '^]';sleep 1;echo quit) | (telnet arhqmg01.usarec.army.mil 25 2>&- )`
The above doesn't work. telnet interprets CTRL+] as '^]' but you can't type '^]' and get the same effect. So I guess what I need is to send the actual keystrokes. Like echo "somenumber" ; echo quit
I am a complete newbie to linux. I am currently taking a course at Devry university called netw240. I am in my 2nd week of class and am required to turn in a paper at the end of the coures were I write an automated shell script. I am currently using Fedora 12 on a Vmware player and want to try to write a script that automates the process of Logging user login activity to detect unauthorized remote access attempts.I am looking for pointers on were to start, examples, ect.. anything that can get me started. Also, is this type of script to much for a beginner?
I am using Kde 4.5 in Debian and I get some notifications after start that I need to update something. How can I disable it (I often don't want to waste bandwidth for such things)? I am using Debian Wheezy and Kde 4.5
While I have been using Linux for many years (Slackware), I have found myself facing a special need that I can't quite figure out.I work at a club where I use iMovie on my Mac to create a DVD that plays on all of our TV's displaying our upcoming lineup of bands.In order to save on DVD's, I would like to create a very small form factor PC running Linux with the following requirements: the computer must boot into Linux and log itself in, the computer will boot up with a thumb drive attached containing a movie file of the most Linux compatible video format. After booting up and logging itself in, the video on the thumb drive must start playing automatically in full screen mode and in a continuos loop.So the whole thing needs to be automated from boot to playing movie; only the power button should ever need to be touched.
I am learning PHP to take information submitted in a web-form and store it in a MySQL database, but I also need it to automatically print to the laser printer I have setup. So that a notice or printout is produced of the information.
My question is... what route do I go to automate printing from web-based information in a PHP/MySQL database?
Is it PERL ? or does PHP have a feature to do this?
I want an automated install (via CD or USB) of Ubuntu 10.04 ...on 100 remote machines located all over the country, using a Kickstart configuration file accessible from my web server.
How do I create the boot CD (or USB)?
How do I specifically add the boot parameters to that boot CD (or USB) to tell it the URL to use for it's automated Kickstart install?
This is my first post and I am a linux newbie.. took on the challenge of setting up an ubuntu server with proxy and firewall with vpn access as well.. sounds good? While messing with things, I installed ebox server, know called Zentyal and perform backups, however, when performing a full restore, following instructions and all it does not restore correctly. I ran many attempts with verious configurations and still allways got some errors, such as eboc-ebackup failing to start, etc. most noteably wa sthe ldap error, which i figured out how to fix by restarting once logged into and then rebooting.
I say the Clonezilla options for a full backup, and it sounds great, but does require me to perform a full abckup, while bring the server down to perform. What I wanted to know, was what do you recommend for performing a full backup (possibly to NTFS partition or USB key with FAT32) with automation or even if i had to perform the trigger, just without needing to bring the server down, so when i go into production i dont have any issues backing up anytime?
I'm using Ubuntu 11.04. I'm searching for an automated way of installing the latest version of Flash for Firefox. We are using our machine as a testing server and it would be nice to be assured we always have the latest version of Flash instead of having to manually update it whenever Adobe comes out with an incremental update.
I just finished set up a PXE server, and was wondering is it possible to automated save/redirect files from the client into server? Basically, test will be running on client, and wanted to save the result(text file) into server after done testing.
Are there any .DEB downloads of Seamonkey out there? All I can find (at the site) are the source and the installer (as a gzip). I couldn't get it to install using the installer (even with the instructions in the readme), and I'd like to avoid compiling from source, because this is for a college course and I don't feel like I have time to worry about compiling.
(The course calls for an HTML editor, and Seamonkey is one of the suggested programs with an HTML editor.) Since I couldn't get the Linux version of Seamonkey to install from its installer (I think the error message was something about being unable to open a screen), the only solution I knew was to run Windows XP in Virtualbox and download/install/run the Windows version of Seamonkey from there.
i can download a 700mb.rar to get almost a gig worth of iso.... so i was wondering if anyone knows a site where they compress the iso to a rar or any other format so that i can save time downloading....
Why i recently tried downloading knoppix dvd when i reached 3.2gb of 3.6gb the downloaded ended i mean i cannot resume...
If you start a transmission then shutdown unintentionally, what happens to transmission? This hasn't happened recently, but the question sticks in my mind. I was downloading 2 files. I opened raw package which, at the time I didn't have BT or FDM or any other type of transmission at that point I shutdown system. I'm assuming it picked up after restarting computer. Anyway what I really want to know is if I only shutdown os and not the transmission, when does it actually stop?
During downloads, the top command shows the Firefox process at 100% CPU. Yesterday I tried to download an .iso image. After a few hours the Firefox window would not refresh nor would it respond to input. I tried the wget command. It used negligible CPU time and completed in 28 minutes.
This problem is easy to reproduce because it happens every time I download a file in Firefox. It also happens when I use a fresh profile to run Firefox without any extensions or plugins.
i can download but i cant run anything because there is no ar file path for ark. please dont tell me to download something to get the ar file path because if i download it i can't open it
I have downloaded the jdk-6u24-linux-i586.bin and gone through following steps. nuwan@nuwan-laptop:~/Downloads$ sudo chmod +x jdk-6u24-linux-i586.bin nuwan@nuwan-laptop:~/Downloads$ ./jdk-6u24-linux-i586.bin It works fine on me. These commands create a folder jdk1.6.0_24 in Downloads directory.
My Question is this. If I want to install packages manually.What is the best way to do it. Where should I put artifacts which generates after executing above commands. Another question, If I use sudo apt-get install sun-java6-jdk where does these downloaded packages are installed. I mean location. I have been using Ubuntu 9.10
I'm trying to run Audacity sound editor, which evidently is already installed according to YaST2, but wont show up 'till i run OpenSuse updates. However I don't know anything about these pid files that are locking sys management and obstructing me.
I get a page of rssfeed.php in my root dir, whenever i run it once more, there goes a new rssfeed.php.0, rssfeed. php.1...etc, the number increases. but all of them stays empty, is there a tag that avoids this?I am not sure which one to use on the man page, there is -o for output, but none for no output?