rm: invalid option -- '1'
Some commands may give you a hint e.g.
Try `rm ./-1' to remove the file `-1'.
This is exactly what is required i.e just append the "./" to the file/folder to resolve your problem.
rm: invalid option -- '1'
Try `rm ./-1' to remove the file `-1'.