i have a directory full of sub-directories with names like
- 01 - title of folder
- 02 - second title
- 03 - etc
- 04 - etc . . .
- 30 - final folder
i want to truncate all of these folder names to just be the numbers so they would appear like so:
is there a way to write a script or a simple command that will accomplish this?