Skip to content

AleMatGra/reNamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reNamerLogo

Introduction

One of my old projects, this is meant to be a "mobile" '.exe'.

You can move the reNamer.exe in any directory and execute it.

It will generate a "reNamerConfig.txt".

In there, you can set up what it is supposed to rename.

After executing again, it will rename all the files in the same directory, depending on the config / settings.

Then you can delete it or move it to the next directory.

What can it do? How does it operate?

After executing the .exe once it will generate a file "reNamerConfig.txt".

Config setup:

  • one extension will be defined in the config file (e.g., '.jpg')
  • it can remove a specific amount of characters from the end of the name
  • you can define pairs of strings, the left one will be replaced by the right one if they occur
  • remove a list of keywords
  • replace specific characters with a defined replacement-character (default is ' ')
  • remove specific characters

When you execute reNamer, all files with the defined extension will be renamed according to the config (order as described above).

Settings:

  • auto delete the config file (makes cleanup easier)
  • enable logging (recommended for the first time using it), generates log with all the renaming that has been done
  • enable print to console
  • enable to place a safety stop, so you can't accidentally run it twice

Safety

reNamer will not completely remove the name of any file, if the filters cause the name to be wiped it will get a generated name: file<number> (number is just incremented, starting from 0). So no file will be left with no name, and a faulty renaming can be completely undone.

using/changing it

If you trust me you can run the .exe from this repo, if not you can re-compile the code.

If you want to change the settings permanently, they are set in the constructor of reNamer.

About

file renamer, auto generates config file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages