Git Product home page Git Product logo

renamer's Introduction

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.

renamer's People

Contributors

alematgra avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.