3

As the question itself says: I would like to know if there is a way to create a script or direct command line to run midnight commander mc and request the program to open an ftp connection on -let's say- the right panel?

Something like:

mc --open-ftp user@ftp.server.com:password --right-panel

Or something like that.

I have seen this tutorial and it works indeed: Save Connection Settings in Midnight Commander, but this allow me to have a bookmark list of my sites, which I must invoke just after running midnight commander.

Any ideas?

1 Answers1

3

You can:

mc leftpanel [ rightpanel ]

left panel:

xfce4-terminal -x mc   ftp://user:password@example.com

right panel:

xfce4-terminal -x mc . ftp://user:password@example.com
Pizza
  • 1,512