Intelligent CLI tool for automatically organizing files by type with preview, logging, and undo functionality