Code Monkey home page Code Monkey logo

nomen's Introduction

Nomen Nomen logo

Table of contents


Definition

The Nomen project is a multi-purpose rename tool to consistently rename the base name as well as the extension of files in a variety of ways and also to remove unnecessary whitespaces from directory names.

Top

Details

Basically, Nomen allows to consistently rename the base name as well as the extension of files and to remove unnecessary whitespaces from directory names.

For now, it is capable of the following, briefly stated:

  • Convert the case of the base name (prefix or stem) of files.
  • Convert the case of the extension (suffix) of files.
  • Adjust differently spelled extensions from files of the same file type.
  • Rename base names based on the name of the directory where the files are stored in.
  • Modify base names by adding, removing or replacing certain strings.
  • Remove leading, trailing and duplicate whitespaces from directory names.

It also comes with an integrated simulation mode that simulates the rename process and writes the details into a report file. This allows checking which files would have been renamed.

The project also consists of multiple components.

Please be sure to read this before using Nomen.

Top

Requirements

In order to run the latest version of Nomen, the Python 3.x framework (version 3.2 or higher is recommended) must be installed on the system.

Version 2.3.6 is the last release that officially supports the Python 2.x framework.

If you need a later version for the Python 2.x framework for whatever reason, you can try refactoring the syntax from Python 3.x to version 2.x using the 3to2 tool.

However, there is no guarantee that this works properly or at all.

Top

Documentation

In the corresponding docs sub-directories, there are plain text files containing a detailed documentation for each component with further information and usage examples.

Top

Useless facts

Whoever cares can find them here.

Top

nomen's People

Contributors

urbanware-org avatar

Watchers

 avatar

nomen's Issues

Revise method to get the file names inside the target directory

ℹī¸ This issue applies to processing a directory with numerous sub-directories and files.

The method used to get all the files inside the target directory and its sub-directories should be revised.

def get_files(directory, recursive=False, ignore_case=True, regex=None,

Currently, all gathered file names are stored in a single variable. It would make more sense to only get a list of all directories first and then process them (their contents) one after another.

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.