Thanks Meter 0
Join Date: Jan 2007
Location: Albuquerque, NM
Originally Posted by enomther
Yup! That's essentially what I'm suggesting ... and there's like 80 somethin .odex files to be deleted.
If that included apk's ... the number woulda been more like 150 somethin.
The update script doesn't except wildcards in the delete commands, that's the real kicker, so no "delete *.odex".
probably have already tried this and not sure if this would help, or even work in that environment, but maybe a workaround? Still uses wildcard but not directly as it would replace the variable with the resulting stdout of the executed command:
for x in `ls /path/*odex`; do rm $x; done
or if everything in a dir but no wildcard:
for x in `ls /path/`; do rm $x; done