Giter VIP home page Giter VIP logo

filename_changes's Introduction

filename_changes

Automate specific filename changes requested by Zack

Cleans up verbose filenames - replace with simple ones that only contain specified pertinent information

Changes to filenames

Filename items in order after rename:
<State abbreviation>_<document codes>_<document type>_<date>

If the filename has a number at the end of the document codes, it is a prepayment. Prepayment filenames are given a slightly different format:
<State abbreviation>_<Prepayment #>_<document type>_<date>

All numbers besides dates are removed in either case, with the exception of prepayment numbers and occasionally a lone number indicating a connection with another file. In this relatively rare case this lone number is tacked onto the end just before the file extension.

How to use

Run FilenameChange.py or FilenameChange.exe, whichever is applicable. It will open a popup box asking for a directory. Provide the full path to a folder containing files that need their names trimmed down. Click the Rename Files button and it will do just that, then close. A log entry will be made each time listing the original filenames, the new names they were given, and any filenames that were not changed.

filename_changes's People

Contributors

reallyawesomename 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.