I have a directory that is full of folders that are named like so: (names are just an example, actual will be different)
Folder1-whatever
Folder2-whatever
Folder3-whatever
Folder4-whatever
I was hoping to use the command line utility to rename these to:
Folder1
Folder2
Folder3
Folder4
Folder* and "whatever" will always be different lengths. Basically, I'm just looking to chop of the "-" and everything after that. Is the command line utility capable of doing that? I've been looking at the manual and I'm not sure I see a way to do that.
Thanks.