Read the statement by Michael Teeuw here.
Locating and Copying Python scripts
-
Is there a way to find and copy some Python scripts off of an SD Card set to run Pi OS
I had a Pi 4 that I had install MM on that I subsequently did some sensor scripts on but decided to get the sensor scripts up and running first, so did a Pi OS install on a different SD SD Card thinking I could just copy the *.py files using my Win 11 laptop but my thinking was wrong.
When I put the SD card in laptop it sees all the various Pi OS files but not a *.py file to be seen. Files are there but while Windows can see all the OS files it can’t see the Python files.
I can get the files but really wondering if there are ways that might not be obvious to a casual MM builder like myself.SD Card A with Pi OS and MM installed plus about 6 - 8 Python scripts
SD Card B with Pi OS, NO MM and no Python scripts.
Use Windows 11 Laptop as middleman to move sensor scripts from SD Card A to SD Card B -
@ankonaskiff17 problem is Windows can’t read the SD card file system.
best to get an SD card/USB adapter and mount it on pi.
-
@ankonaskiff17 then the find command can be used to search the sd card for .py files
cd /media/userid/????? whatever the mount path is find . -type f -name "*.py" 2>/dev/null -
@sdetweil You go away for a couple of weeks and…!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login