Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.22 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.22 KB

File Extension Fix Tool

Build status Known Vulnerabilities

Find and rename files with wrong extensions. File type detection based on Apache Tika.

Minimum requirements

  • Java SE Development Kit 8

Build

./mvnw clean verify

Usage

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).