I have a number of headless Raspberry Pi's, all accessible via RealVNC.
To copy a Python program from one Pi to another, I currently use the following process:
- On the donor Pi in Thonny, select the complete program using CTRL-A and then CTRL-C
- Still on the donor Pi, copy the program into LibreOffice Writer using CTRL-V and then CTRL-A, then CTRL-C.
- On the receiving Pi, open up LibreOffice Writer and use CTRL-V to paste the program then copy it using CTRL-A, then CTRL-C
- Still on the receiver Pi, open up Thonny and use CTRL-V to transfer the program to Thonny
There must be an easier way?
The Pi's are not accessible enough to use, for example, a USB stick
Any help appreciated, Thank you
There must be an easier way?
As an IT community we learnt how to copy files between linux-based system many decades ago!
Do the Donor and Receiver RPi systems have a connection to the same Local Area Network?
If so, scp or rsync are among the network-aware tools you could use.
RealVNC does not need to be directly involved, other than to provide your access to the systems in question.
Statistics: Posted by B.Goode — Thu Jul 11, 2024 11:08 am