clip9 / adbren

adbren - Rename and organize anime using this AniDB API client written in perl
39 stars 10 forks source link

Allow manual configuration of configuration save folder #14

Closed Nutellaeis closed 5 years ago

Nutellaeis commented 5 years ago

It would be really great if I could set the configuration folder myself.

Background I am currently trying to run the script inside a cronjob and it will always default to /root as homedir, even when HOME is set. Of course one could rewrite the detection method of HOME, but I think it might be far more flexible to include a switch for manual configuration

thoj commented 5 years ago

You can now use ADBREN_CONFIG="/path/to/file.config" to set the config file.