On Fri, Nov 25, 2011 at 07:58:29PM +0100, Simón wrote: > I have defined a command in rc file to show an alert when lftp ends: > set cmd:at-exit "!notify-send -i lftp1.png -c 'transfer.complete' > 'LFTP' 'Transferencias finalizadas'" > It works well but if I replace"!" to "shell" it doesn't work. It > gives an error: "Invalid number of options". I guess this error is > from notify-send command. > What's the difference between "!" and "shell"?
The difference is in quote handling. "shell" handles the quotes inside lftp, while "!" passes the quotes to the shell. -- Alexander. _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp