
If you’re looking for a cross platform command line program that allows you to send files between your computer and your mobile devices ( and vice-versa ) you should take a look at qrcp.
It binds a web server to the address of your Wi-Fi network interface on a random port and creates a handler for it. The default handler serves the content and exits the program when the transfer is complete. When used to receive files, qrcp serves an upload page and handles the transfer.
