-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature idea: delete directory #17
Comments
Thanks for the idea, In your opinion it is better to delete files inside of the directory or delete directory too? |
I think it would be good to mimic the linux rm command, for example Deletes directory
Deletes files in directory
I don't know how hard this would be to implement. |
It's not hard at all but I'll be glad to hear @Wind-stormger opinion too about this change |
I don't think we can keep reinventing the wheel any longer. Let me be straightforward, if you must use commands, The current method of mpbridge deleting files and folders is much simpler and easier than using commands. Run So convenient, because it can be operated in the graphical file management interface of your operating system, this is what makes mpbridge unique, at least in my opinion. If you can only operate in the terminal, mpremote is your best choice. Have a nice day. |
In fact, the one who reinvented the wheel was me.
I have been struggling with this for a long time, but I think that listing available devices is the most basic function that a micropython auxiliary development tool should have, even if this function comes from mpremote, and mpbridge is developed based on mpremote. To continue reinventing, or copying the wheel, I don't think it's appropriate anymore, this is my personal opinion. |
@Wind-stormger I've had the exact idea in my head and that was why I've asked your opinion. Some low level functionalities must be implemented in |
It would be really useful to be able to delete just one directory.
Maybe a new command or a parameter could be supplied to "clear" eg. "clear /logs"?
The text was updated successfully, but these errors were encountered: