1

I have this file:

/storage/emulated/0/Tones/test1/test2/test3/test4/brooke-shields,-a�os-80.jpg

Cannot delete. I get a <java.lang.illegalargument> response when I try to delete using several different file managers. My phone is unrooted. Tried through javascript, termux, iShredder, and others. Have tried to understand the black diamond with the question mark, but unclear what it truly is. Am a real novice, so have patience.

Any suggestions on how to delete this file.

Jimmy B
  • 11
  • 1
  • 3

2 Answers2

0

play with find until you get the single line with (1) result.

~ $ find -L /sdcard -mindepth 6 -type f -name 'brooke-shields*80.jpg' -print

add the -delete flag to delete result(s)

alecxs
  • 4,034
  • 3
  • 16
  • 34
-1
  • Rename the file and check if you can delete it. Also, have you tried the same with adb?
adb shell rm /storage/emulated/0/Tones/test1/test2/test3/test4/brooke-shields,-a�os-80.jpg
yusuf
  • 1
  • 1
  • It won't let me change file name, I can't move it, I can't copy it, I can't delete it. Per iShredder, it's a "permanent file." Don't want to Factory Reset, but might be my only option. Have ordered a new phone, exactly the same as the one I have (other issues prompted that change), but am concerned that backed up files will contain same undeletable file. Tried several different file manager apps, was suggested to us Solid Explorer. Will try that. Thank you for responding. – Jimmy B Dec 06 '23 at 15:00
  • Solid Explorer did not work. Cannot delete. – Jimmy B Dec 06 '23 at 15:08
  • I have not tried that, nor do I have any experience with that, but it's worth a shot. Hopefully I'm smart enough to figure it out. Thanks for the suggestion. I'll let you know. – Jimmy B Dec 06 '23 at 16:34
  • adb seems to require the use of two (2) Android phones or a PC. I currently don't have access to either one. Not sure if I will be able to utilize adb. – Jimmy B Dec 06 '23 at 17:36
  • 1
    apps cannot access the app-specific directories that belong to other apps, therefore adb is recommended – alecxs Dec 06 '23 at 19:28
  • @JimmyB: Yes, you will need to use a Windows, Mac or Linux computer. – John Dallman Dec 07 '23 at 21:45