Wildcards in mpremote's file system commands #18635
Unanswered
Niel-prikhod
asked this question in
Libraries & Drivers
Replies: 2 comments
-
|
It doesn't accept wildcards. I group files in project-based subdirectories: these can be removed with Better still (in my opinion) is to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Even if globbing were implemented, it wont work without single quotes around '*.py', because the shell replaces the wildcard with local matching files. The single quote prevents this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am just starting with micropython, so it is may be an obvious question. Can I use wildcards (*) with file system commands with mpremote? I want to use it smth like this:
But instead of deleting all the files it writes that it can not find "*.py" file.
I use "3.4.0; MicroPython v1.27.0 on 2025-12-09" Raspberry Pi pico and mpremote 1.27.0
if it matters.
Beta Was this translation helpful? Give feedback.
All reactions