Error when deleting .DS_Store file
I'm using the latest version 2.7.0-beta. When deleting .DS_Store file, I always get "File not found }} Cannot delete the file" error dialog. The weird "}}" is what appeared in the dialog. When I click the "Skip" button in the dialog, I can see file has been deleted.
@Hawkedon are you using far2l on macOS? Info from the menu Commands->About FAR would be helpful to diagnose the issue as well as the std output collected with export FAR2L_STD, see here
@exkrexpexfex I'm on the latest macOS Sequoia 15.7.2. After some debugging, I found the root cause and solved the problem. It's due to the incorrect usage of "trash" command at https://github.com/elfmz/far2l/blob/d77354eed8e48def181811da8a61f72044e678e9/far2l/bootstrap/trash.sh#L24 The "trash" command doesn't support the "put" parameter (it treats "put" as a file to be moved to Trash), thus return error when the command running (as the file with name "put" doesn't exist), but it does trash the file after "put" parameter. Simply removing "put" parameter fixed the problem. Would you please committing this fix in the code base?
@tempergate please taking into account. trash put was added in your PR https://github.com/elfmz/far2l/pull/2797