Skip to content

albertus82/extfix

Repository files navigation

File Extension Fix Tool

Latest release Build status Known Vulnerabilities

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

⚠️ Warning

This utility can severely damage your system. Changing file extensions can cause serious problems, including a complete and irreparable system crash. Do not play with this utility unless you know what you're doing. Never use the -y (--yes) option unless you know what you're doing. Use this utility at your own risk; I am not responsible for any damage caused to your system.

☑️ Minimum requirements

  • Java SE Development Kit 11

⚒️ 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

Packages

No packages published

Contributors 2

  •  
  •