Hi,
I'm trying to rename a file using rename function in Dietpi-Explorer but command fails returning this:
My hardware is ASUS Tinker Board.
Thanks for the help!
Issue with Dietpi-Explorer
Re: Issue with Dietpi-Explorer
Can you try it directly on OS command shell without explorer using one if the following options
https://askubuntu.com/questions/770302/ ... mmand-line
- Surround the name in quotes:
Code: Select all
mv "File with Spaces" "Other Place"
- Use backslashes to escape the special characters:
Code: Select all
mv File\ with\ Spaces Other\ Place
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: Issue with Dietpi-Explorer
Yes I tried this in the shell and it works perfectly. However it would be easier and faster to have this working also using built-in explorer.
Re: Issue with Dietpi-Explorer
@gabboman
Many thanks for reporting, indeed a very good find. I first thought about a missing double quote in DietPi-Explorer code, but everything important (related with rename/mv calls) was double quoted. Finally I found our error handled command wrapper to be the issue, which could theoretically cause issues throughout other DietPi scripts as well.
Fixed with: https://github.com/MichaIng/DietPi/comm ... 2b33ce413a
Changelog: https://github.com/MichaIng/DietPi/comm ... 9d7627b944
Many thanks for reporting, indeed a very good find. I first thought about a missing double quote in DietPi-Explorer code, but everything important (related with rename/mv calls) was double quoted. Finally I found our error handled command wrapper to be the issue, which could theoretically cause issues throughout other DietPi scripts as well.
Fixed with: https://github.com/MichaIng/DietPi/comm ... 2b33ce413a
Changelog: https://github.com/MichaIng/DietPi/comm ... 9d7627b944