Closed ryanwalder closed 2 years ago
Hi there! In theory, the cache file is not created wherever the script is run, but in the specified download folder (with --download-folder
), as can be seen here:
https://github.com/Ezwen/bandcamp-collection-downloader/blob/0420ce033162bbd3e92d4ffa23429f700e3b0398/src/main/kotlin/bandcampcollectiondownloader/core/BandcampCollectionDownloader.kt#L85
Just to be sure, isn't --download-folder
enough for your case?
Ah I wasn't aware of that, that would definitely cover my use case. Thanks for the reply!
Do try and let me know if there is a problem. Who knows, maybe the cache file gets created in the wrong place in some cases − and that would justify a bug request :)
I would like the ability to set the location of the .cache file.
This would allow me to store the cache file somewhere more convenient eg:
~/.config/bandcamp-downloader/blah.cache
rather than wherever I last ran the program.For context I run the downloader via a wrapper shell script which lives in my PATH (to save me typing out the options all the time) so the cache file gets created wherever I run the wrapper script from which is less than ideal. Being able to set the location of the cache file via a cli option would alleviate this problem.