Skip to content

A tiny Java application. It renames a directory files and replace a keyword with another.

License

Notifications You must be signed in to change notification settings

Matin-A/Name-Find-Replace

Repository files navigation

Name Find & Replace Purpose

When you have directory with large number of files and there is a word (or regex) that all names contains, now you want to remove it or replace it with another word, here this program can help you.

Features

  • JavaFX Application runs via whether JAR file or CLASS file
  • Replace file names keyword with replacement keyword.
  • Delete file names keyword (in case you leave replacement keyword empty).
  • Rollback any changes after each rename operation.

Requirements

  • Java Runtime Environment Version 10.0.1 is needed to run JAR file or run it manually. Other versions not tested so not recommended.
  • I tried to write a cross-platform application so there should be no problem on java supported OSs. But I only tested in Windows 10 1803.

How-to

How to run the program

Simply copy and run Name Find & Replace.jar File. You need JRE pre-installed.

How to use the program

Here is a simple example: I enter "example" as the keyword, "" (empty) as the replacement keyword, and "PATH/Directory" as the path, then run the program:

Example

How to use Regex Keyword

Regex (Regular Expressions) is a word (sequence of characters) which is a pattern to more than one word.

Regex Keyword must follow Java Regex Rules. Here is a short summary of rules.

Screenshot

screenshot

Notice

Since Java-FX removed from the newest Java, you may need to run command-line app (Console Version).

About

A tiny Java application. It renames a directory files and replace a keyword with another.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages