View Single Post
Posts: 7 | Thanked: 1 time | Joined on Dec 2009
#14
Originally Posted by Big Phat Jan View Post

Code:
echo "alias iplayer='iplayer-dl -d /home/user/MyDocs/.videos'" >> /home/user/.profile
This means that whenever you type "iplayer" in the terminal it has the same effect as typing "iplayer-dl -d /home/user/MyDocs/.videos", so typing:


Code:
iplayer URL
Will download the show at URL to your videos directory. Note that this won't take effect until you exit and restart the terminal.

Let me know how it goes.

Cheers,
Jan
Brilliant! Works like a dream. I had made a note with the original string of code which I would copy and paste each time but no need for that now!

Thanks again to Jan and Kaspernj.

Gavin
 

The Following User Says Thank You to gavcuk For This Useful Post: