It would be beneficial to add a dry-run option to see what the reorganization would look like before actually doing it.
This option would prevent hesitation when running the command, especially in a directory with many files. It also helps with debugging if files don't end up where you think they should.