Set download folder from command line or shell variable
Posted: 2019-07-18, 00:13
Hello,
I would like to be able to launch Pale Moon from a shell script, with the URL on the command line and also something to specify where this download should go. Something like
palemoon --download-folder /data/LT/Groups/Sound_processing_win/Audacity_easy_for_sound_editing https://www.audacityteam.org/download/windows/
The operator would then jump through the website's hoops to get the file to download, then Pale Moon would save it to the folder named on the command line.
If Pale Moon looks at a shell variable for the folder to download to, this would also be OK.
Is there any way I can do this?
(This is so we can keep up-to-date a software repository on a Linux system, to help people who work in language development for speakers of minority languages around the world. You can read about our project at http://lingtransoft.info/apps/langtran For downloading easy-to-get programs, we use Ketarin, which takes a "recipe" for each program. Each recipe includes the URL, how to find the version number and how to find the download URL and where to save the file to. But some websites require human intervention to get to the download site, including magic numbers, so recipes for these programs fail.)
If you know of a different Linux web browser that would do what we want, that would also help.
Thanks,
Jim
I would like to be able to launch Pale Moon from a shell script, with the URL on the command line and also something to specify where this download should go. Something like
palemoon --download-folder /data/LT/Groups/Sound_processing_win/Audacity_easy_for_sound_editing https://www.audacityteam.org/download/windows/
The operator would then jump through the website's hoops to get the file to download, then Pale Moon would save it to the folder named on the command line.
If Pale Moon looks at a shell variable for the folder to download to, this would also be OK.
Is there any way I can do this?
(This is so we can keep up-to-date a software repository on a Linux system, to help people who work in language development for speakers of minority languages around the world. You can read about our project at http://lingtransoft.info/apps/langtran For downloading easy-to-get programs, we use Ketarin, which takes a "recipe" for each program. Each recipe includes the URL, how to find the version number and how to find the download URL and where to save the file to. But some websites require human intervention to get to the download site, including magic numbers, so recipes for these programs fail.)
If you know of a different Linux web browser that would do what we want, that would also help.
Thanks,
Jim