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!
Hi,
I’m trying to rename a file using rename function in Dietpi-Explorer but command fails returning this:
Thanks for the help!
Can you try it directly on OS command shell without explorer using one if the following options
mv "File with Spaces" "Other Place"
mv File\ with\ Spaces Other\ Place
https://askubuntu.com/questions/770302/how-to-move-a-file-with-a-space-in-the-name-command-line
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.
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/commit/15a9b2c6a4548fdf94410e5f5d0cce2b33ce413a
Changelog: https://github.com/MichaIng/DietPi/commit/538663a9e860214b2198729825a7219d7627b944