Page 1 of 1

bashpodder HOWTO?

Posted: Sat Nov 26, 2005 5:59 pm
by treehead
;ok, call me a newb, but i am at a loss as to the "proper" way to install and/or configure bashpodder.

;i understand that i will have to schedule bashpodder to run by configuring it in a crontab (i can RTM for that), what i don't know is where to place the script (and its associated files) or where it will place the downloaded files and whether i can change that.

;is there any "official" documentation on how bashpodder works, how to configure it, etc? if not, i would like to figure this out and write some.

;treehead

Posted: Sat Nov 26, 2005 8:44 pm
by Chess
I have not played with Linc's script yet (but will soon) but I seem to recall the last time I looked at it that there is a data directory variable or something within the script. You may want to look through the script itself because I think that's where you set it. Just change it whatever you want. As for where to save it, I would just save the script in your home directory and then have cron run it every so often.

datadir

Posted: Sat Nov 26, 2005 10:42 pm
by treehead
Chess wrote:...I looked at it that there is a data directory variable or something within the script....
;yeah, i saw that variable:

Code: Select all

# datadir is the directory you want podcasts saved to:
datadir=$(date +%Y-%m-%d)
...which would appear to dynamically create a new directory every time the script runs, which i don't want. i would assume that i can just make this static if i want to. actually, i'd like to have a separate directory for every podcast, where they can accumulate with each successive download.
Chess wrote:As for where to save it, I would just save the script in your home directory and then have cron run it every so often.
;i was wondering if there's a "standard" directory to house shell scripts in slackware (or any linux in general).

;treehead

Re: datadir

Posted: Mon Nov 28, 2005 1:15 pm
by Linc
treehead wrote:actually, i'd like to have a separate directory for every podcast, where they can accumulate with each successive download.
There are a whole bunch of people that have made that change. You can find their modified versions of the script with that change and a lot of other ideas as well at: http://linc.homeunix.org:8080/scripts/b ... ntributed/

;i was wondering if there's a "standard" directory to house shell scripts in slackware (or any linux in general).
;treehead[/quote]
Well, the standard (which not many people actually use anymore) is to create a "bin" directory under your home directory and use that to store the scripts you created.

ah-ha...

Posted: Mon Nov 28, 2005 1:55 pm
by treehead
;gotcha. thanks.

;treehead

Posted: Tue Nov 29, 2005 9:11 pm
by dann
First line in Bashpoder how-to:

Download and install Penguin TV - Why trush unreliable scripts?

Ha ha, in your face Linc!