;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
bashpodder HOWTO?
Moderators: snarkout, Patrick, dann
bashpodder HOWTO?
"It is a widely accepted notion among painters
that it does not matter what one paints, as long as
it is well painted. This is the essence of
academicism. There is no such thing as a good
painting about nothing." --Mark Rothko
that it does not matter what one paints, as long as
it is well painted. This is the essence of
academicism. There is no such thing as a good
painting about nothing." --Mark Rothko
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.
Chess Griffin
datadir
;yeah, i saw that variable:Chess wrote:...I looked at it that there is a data directory variable or something within the script....
Code: Select all
# datadir is the directory you want podcasts saved to:
datadir=$(date +%Y-%m-%d);i was wondering if there's a "standard" directory to house shell scripts in slackware (or any linux in general).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.
;treehead
"It is a widely accepted notion among painters
that it does not matter what one paints, as long as
it is well painted. This is the essence of
academicism. There is no such thing as a good
painting about nothing." --Mark Rothko
that it does not matter what one paints, as long as
it is well painted. This is the essence of
academicism. There is no such thing as a good
painting about nothing." --Mark Rothko
Re: datadir
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/treehead wrote:actually, i'd like to have a separate directory for every podcast, where they can accumulate with each successive download.
;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.
-Linc Fessenden
In the Beginning there was nothing, which exploded - Yeah right...
In the Beginning there was nothing, which exploded - Yeah right...
ah-ha...
;gotcha. thanks.
;treehead
;treehead
"It is a widely accepted notion among painters
that it does not matter what one paints, as long as
it is well painted. This is the essence of
academicism. There is no such thing as a good
painting about nothing." --Mark Rothko
that it does not matter what one paints, as long as
it is well painted. This is the essence of
academicism. There is no such thing as a good
painting about nothing." --Mark Rothko