packt-cli / Packt-Publishing-Free-Learning

Scripts that automatically claim and download free daily eBooks from https://www.packtpub.com/packt/offers/free-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packt-cli always downloads to the same location as the first time, also ignores symlinks

dennisdenk opened this issue · comments

It's because -f parameter is a boolean flag - its value decides whether different formats of the same ebook should be downloaded to separate directory inside download directory or directly to download directory.

What you're looking for is the possibility to change download directory - you can do this in the configuration file (which probably isn't the most intuitive place), I'd prefer to have it available as CLI parameter.