Skip to content

File Extension Fix Tool - Find and rename files with wrong extensions.

License

Notifications You must be signed in to change notification settings

albertus82/extfix

Repository files navigation

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

About

File Extension Fix Tool - Find and rename files with wrong extensions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published