mrworf / plexupdate

Plex Update script to simplify the life of Linux Plex Media Server users.
GNU General Public License v2.0
1.77k stars 146 forks source link

Specify cron download directory? #282

Closed n1nj4888 closed 3 years ago

n1nj4888 commented 3 years ago

Hi there! I can see there’s a command line option for plexupdate.sh as follows:

--dldir <path/to/where/you/want/files/downloaded/to> This is the folder that the files will be downloaded to.

I assume this overrides the default /tmp download directory but how is this changed for every plexupdate.sh execution via cron? For example I couldn’t find documentation of a “DLDIR” config item for /etc/plexupdate.conf?

Thanks!

demonbane commented 3 years ago

The variable name is DOWNLOADDIR, so you can just add something like DOWNLOADDIR="/my/download/path" to plexupdate.conf.