FS#22038 - pacman: download limit rate from the command line
Attached to Project:
Pacman
Opened by Hervé (herve) - Friday, 10 December 2010, 09:09 GMT
Last edited by Guillaume ALAUX (galaux) - Friday, 14 January 2011, 15:32 GMT
Opened by Hervé (herve) - Friday, 10 December 2010, 09:09 GMT
Last edited by Guillaume ALAUX (galaux) - Friday, 14 January 2011, 15:32 GMT
|
Details
Description:
Use case: I have limited bandwidth in the countryside. At the moment of this writing, I can't surf the Web while I update the system. You can set custom download commands in the configuration file, but they are not as nicely integrated as the default one. I guess you are using wget or curl as a library. My request is about adding the "--limit-rate" flag of wget/curl to pacman and transfer it to the library call. I would be more convenient than editing the configuration file each time I download from here, while not affecting the readable pacman output. Additional info: * pacman 3.4.1-1 * My try at reproducing the default output of pacman: XferCommand = /usr/bin/wget --limit-rate=40k --passive-ftp -c -O %o %u But it would print the whole conversation with the server. "--quiet" would suppress it but the progress bar too. Steps to reproduce: I could welcome you here but it would be an expensive travel for a minor request. ;-) |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Friday, 14 January 2011, 15:32 GMT
Reason for closing: Fixed
Additional comments about closing: OP requested to close
Friday, 14 January 2011, 15:32 GMT
Reason for closing: Fixed
Additional comments about closing: OP requested to close
Comment by Hervé (herve) - Thursday,
23 December 2010, 08:40 GMT
Closing this bug. I found out trickle in the meantime.