Find and rename files with wrong extensions. File type detection based on Apache Tika.
- Java SE Development Kit 8
./mvnw clean verify
Usage: extfix [-hLnRVXy] [-e=<EXT>[,<EXT>...]]... <PATH>
File Extension Fix Tool
<PATH> Directory to scan for files with invalid extension.
-e, --extensions=<EXT>[,<EXT>...]
File extensions to filter.
-h, --help Show this help message and exit.
-L, --links Follow links.
-n, --dry-run Do everything except actually rename the files.
-R, --recursive Operate on files and directories recursively.
-V, --version Print version information and exit.
-X, --errors Produce execution error messages.
-y, --yes Automatic yes to prompts (run non-interactively).