• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Bad filename and zero length

rechmbrs

Lurker
I have a couple of files which are listed as zero in length and also have weird characters in their filenames. I have tried every way I can think of to delete the files with no success. I have an android 5.0.2 nexus 7 2013 which is not rooted.
I realize that these files are doing no damage but I'd like them gone. Can't rename, ....

Any suggestions?
Thanks,
RONC
 
You should be able to download an app like Android Terminal Emulator, and manually remove the file while escaping the weird characters:

cd <directory where the funky filename is>
rm <funky filename>

For example, let's say you have a filename (with two spaces and a percent sign in it) like "abc xy % d" in the /sdcard/Download directory you would type this:

cd /sdcard/Download
rm abc\ xy\ \% d

See how I escaped (with the backslash character) the two spaces and the percent sign?

Edit: of course, be careful with what files you do delete--you really should be absolutely sure you don't need them before removing them and experiencing unexpected results.

Cheers and hope that helps!
 
Back
Top Bottom