Mac Terminal Rename files up to a character

In a folder, I have folders and files that look like:

Folder1 Jumping
File1-run
File2-walk
Folder2-sprinter

and I want to delete all the characters on the right, including the "-", realizing:

Folder1
file1
file2
Folder2

How can I do this with Terminal on Mac? I've tried finding and mv orders without success. Please provide a solution