QUERY · ISSUE
mpremote gives false error if a destination directory doesn't exist for recursive copy
bugtools
Port, board and/or hardware
rp2040
MicroPython version
MicroPython v1.24.0 on 2024-10-25; Raspberry Pi Pico with RP2040
Reproduction
create a directory 'test' on the target and 'local' on host
then run:
mpremote cp -r local :testt
note typo in destination
Expected behaviour
the error message should be 'destination doesn't exist'
Observed behaviour
cp local :testt
mpremote: cp: -r not specified; omitting directory
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree
CANDIDATE · ISSUE
mpremote rmdir / - Doesn't work
bug
Port, board and/or hardware
esp32c6 super micro
MicroPython version
ESP32_GENERIC_S3-20241129-v1.24.1.bin
Reproduction
mpremote rmdir /
rmdir :/
mpremote: Error with transport:
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
OSError: [Errno 1] EPERM
Expected behaviour
Expected to erase all files from micropython's root.
Observed behaviour
OSError: [Errno 1] EPERM
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree