https://github.com/soc221b/namanager
A filename/dirname manager which could determine whether paths is expected and you could also automatically rename it.
https://github.com/soc221b/namanager
checker filename filesystem format insensitive manager mv rename
Last synced: over 1 year ago
JSON representation
A filename/dirname manager which could determine whether paths is expected and you could also automatically rename it.
- Host: GitHub
- URL: https://github.com/soc221b/namanager
- Owner: soc221b
- License: gpl-3.0
- Created: 2018-03-06T16:22:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T02:42:44.000Z (over 3 years ago)
- Last Synced: 2024-05-13T06:25:50.251Z (about 2 years ago)
- Topics: checker, filename, filesystem, format, insensitive, manager, mv, rename
- Language: Python
- Homepage:
- Size: 128 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
=========
namanager
=========
.. include-documentation-begin-marker
.. image:: https://img.shields.io/travis/iendeavor/namanager/master.svg?style=flat&label=Linux
:target: https://travis-ci.org/iendeavor/namanager
:alt: see build status of Unix-like: https://travis-ci.org/iendeavor/namanager
.. image:: https://img.shields.io/codecov/c/github/iendeavor/namanager/master.svg?style=flat
:target: https://codecov.io/gh/iendeavor/namanager
:alt: see code coverage status: https://codecov.io/gh/iendeavor/namanager
.. image:: https://img.shields.io/pypi/v/namanager.svg?style=flat
:target: https://pypi.python.org/pypi/namanager
A file or/and directory name manager which could determine names are/aren't expectable, and you could also automatically rename it.
.. include-documentation-end-marker
Features
--------
* Match or ignore particular files/directories.
* Supports checking of most common format of letter-cases (upper, lower, camel, and pascal-case).
* Supports checking of convention of word separators (underscore-to-dash/dash-to-underscore).
How to use?
-----------
Installation
~~~~~~~~~~~~
* First of all check you already have **pip** installed, and then just type in:
.. code-block:: sh
pip install namanager
* Sometimes, you need to install on offline environments, hence that you could download *wheel* s from `PyPI `_ or by **pip**:
.. code-block:: sh
pip download namanager
After moved wheels (involve dependencies) into your env, you could manually install it by following commands:
.. code-block:: sh
pip install namanager-x.x.x-py2.py3-none-any.whl
Running
~~~~~~~
1) Configure your *settings.json*.
2) Run command
.. code-block:: sh
namanager
If the settings file doesn't existed in your current working directory or CWD:
.. code-block:: sh
namanager --settings /path/to/your/settings