[lftp] [REQUEST] Run command to finish all downloads
Alexander V. Lukyanov
lav at netis.ru
Mon Aug 8 11:37:27 MSK 2011
On Sat, Aug 06, 2011 at 12:57:49PM +0200, ∫imøn ㋡ wrote:
> I've defines an alias in my rc file:
> alias apagar "!sudo poweroff; exit"
> I enqueue several downloads, for example:
> queue pget file1
> queue mirror dir2
> queue apagar
> Will this work?
I think - yes.
Please note that the shell will get complete line after !, that is "sudo poweroff; exit".
Use this instead:
alias apagar "shell sudo poweroff; exit"
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the lftp