If the file name is the actual problem and not filesystem lock or similar:
I deal with these files asking find to delete it for me this way:
find salmo-root -type f -exec rm -f {} \;Yes, pay attention to all characters including spaces \ and ; If that doesn't help ask linux if someone has the file opened by: fuser -a fileName Best, Tomas On Mon, Oct 30, 2023, 16:30 Denis Heidtmann <[email protected]> wrote: > Can it be renamed? How does a GUI deal with it? > > On Mon, Oct 30, 2023 at 7:20 AM Rich Shepard <[email protected]> > wrote: > > > On Sun, 29 Oct 2023, Reid wrote: > > > > > Any luck with this? > > > > > > https://askubuntu.com/questions/746048/cant-delete-a-file-with-a-in-the-file-name > > > > Reid, > > > > Nope. > > > > However, using `ls -b' I learned that the `?' is octal \021. The ls man > > page > > did't suggest another option to view non-printable characters and my > > trial-and-error efforts to replace that parenthesis with `*' failed. So > did > > trying to use a wildcard after initial chars in the filename. > > > > > Also if it's the only file in the directory (maybe I misunderstood), > what > > > happens when you try to remove the whole directory (`rm -rf > > > <directory_path>`)? > > > > Initially I used `rm -rf salmo-root' and everything but that one file was > > removed. > > > > Thanks, > > > > Rich > > > > > > >
