Issue with Dietpi-Explorer

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
gabboman
Posts: 2
Joined: Fri Dec 27, 2019 1:27 pm

Issue with Dietpi-Explorer

Post by gabboman »

Hi,
I'm trying to rename a file using rename function in Dietpi-Explorer but command fails returning this:
bug.jpg
My hardware is ASUS Tinker Board.

Thanks for the help!
User avatar
Joulinar
Posts: 2068
Joined: Sat Nov 16, 2019 12:49 am

Re: Issue with Dietpi-Explorer

Post by Joulinar »

Can you try it directly on OS command shell without explorer using one if the following options
  • 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
https://askubuntu.com/questions/770302/ ... mmand-line
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
gabboman
Posts: 2
Joined: Fri Dec 27, 2019 1:27 pm

Re: Issue with Dietpi-Explorer

Post by gabboman »

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.
User avatar
MichaIng
Site Admin
Posts: 2293
Joined: Sat Nov 18, 2017 6:21 pm

Re: Issue with Dietpi-Explorer

Post by MichaIng »

@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
Post Reply