I'm trying to delete a file Android will not let me delete it. Trying to use Termux, I can't seem to find the file. I used termux-setup-storage, and per the instructions entered:
cd /storage/sdcard0/FilesAndFolders
And get
bash: cd: /storage/sdcard0/FilesAndFolders: No such file or directory
I'm working with Android 11, and I am a real novice at this. I can't figure out what file path they want. Suggestions?
Even though I'm using:
rm -rf [directory name]
it still comes back saying the Directory is not empty. No command I try deletes this file. The file name at the end of the string has a black diamond with a question mark on it.
I tried SD Maid to no avail, Termux didn't work. I'm considering a factory reset as my only option. The file is a .mp4. I tried *.MP4
, but no luck. I've tried deleting the folder and the file in every way I could find. I traced the file from the tree, sometimes it tells me the file doesn't exist when I can see it in the tree.
Is there any way to delete this file?
cd storage
followed byls
to show you the contents. Probably your folder is inshared
; docd shared
andls
again to see if you can find the folder. //With a normal file explorer can you tell the path where is it stored?nomedia
file in that folder. Try deleting it using file explorer and then try to delete the folderrm - rf