I am screwed. I misused wildcards like a moron, in the rename command.
I repeated names twice in a 3gig folder, which I cannot afford to delete.
Now, the rename command is not working, and it says the file name is too long.

Please help me.
If programming can solve this, please let me know. I am a competent programmer in Java, PHP, and I know basic C.