On Fri, Apr 29, 2016 at 10:52:28AM +0200, Franck Eyraud wrote:
> I suggest that your solution is in your other email, and is the one I used
> for years :
>
> One dir for each server, or group of servers, with specific config
> (.lftp/rc, .lftprc and even .netrc), and set HOME to this dir before
> launching lftp.
>
> HOME=/path/to/server1 lftp
>
> Or some easy bash script wrapper that runs lftp that way...

There is also LFTP_HOME environment variable, using it you can avoid the
extra .lftp subdirectory (or XDG .local and .config).

--
   Alexander.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to