mv: invalid option -- '0' mv: invalid option -- '0' bash bash

mv: invalid option -- '0'


mv ./-00008.jpg to/some/where.jpg   ^ - start with path...


as with most gnu commands, use the -- switch before the filename with the hyphen. it signifies "end of switches".


Put a double - before the arguments that can contain "-" in the begin; then there can't be options after --.

mv OPTIONS -- ...