Giter Club home page Giter Club logo

filesubstrings's Introduction

FileSubstrings

Description

This small command line tool collects all substrings of the filenames (without extension) of all files in a directory and all subdirectories. A substring is a sequence of alphanumeric characters that have no other alphanumeric characters to the side of the substring.

For example the filename image_2013_12_03.jpg has the substrings image, 2013, 12 and 03.

The tool can either list all found subtrings with their number of occurrences or list the files that have a given substrings in their file name.

Usage

FileSubstrings.exe [OPTIONS]

The options are:

-s : If this option is specified then, instead of the substrings with their occurrence count, the file names of the files that have the given substring are printed out.
-sl : Specifies the minimum length of a substring to be considered. The default value is 3.
-oc : Specifies a minimum number of occurrences of a substring to be considered. The default value is 2.
-c : Specifies the maximum number of results shown. The default is MAX_INT.
-h, --help : Prints the help.
-f : If this flag is specified then instead of the file names the full path of the files are printed out. This has only an effect if a substring is specified using -s.

: The directory to look at.

filesubstrings's People

Contributors

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