Linux to Android file transfer - itsec-lib/Notes GitHub Wiki
Transfer files between Ubuntu Linux and Android devices via QuickShare.
Quick Share is already built into most Android phones, so you're good to go right out of the box. On the Linux side, you just need to install Packet.
https://github.com/nozwock/packet
Packet is available as a Flatpak, which simplifies installation with most Linux systems. However, first ensure you have Flatpak and the Flathub repository configured on your system.
apt install flatpak flatpak install flathub io.github.nozwock.Packet
sudo apt install python3-dbus python3-nautilus mkdir -p ~/.local/share/nautilus-python/extensions
First start: flatpak run io.github.nozwock.Packet