Code Monkey home page Code Monkey logo

dirindex's Introduction

Yet Another Directory Indexing Tool

Purpose of this project is to get a rather simple overview of all files in several (rather similar) folder so that those folder can be compared with each other. It should help to consolidate same named files if they differ or are missing.

Non aim:

  • it is not fully automated yet
  • it is not consolidation tool but rather an assistent
  • it is not the fastest tool:
    • 20k files on SSD take about 6 minutes TODO - TBD
    • 10k files on ext USB 3.0 HDD takes about 9 minutes TODO - TBD

Usage

TODO

Index Folder

TODO suggestion:

  1. crate a file table for file attributes
    • path to index (as specified in the configuration file)
    • relative path to file
    • file name
    • file extension
    • creation time stamp
    • last modificaton time stamp
    • file size
    • md5sum or other hash
  2. create a folder table (optional)
    • relative folder name
    • nr. of contained files (immediate files)
    • nr. of contained folder (immediate folder)
  3. for each configured folder
    • recursively gather information of each file
    • recursively gather information of each folder (optional)

Query Files

TODO suggestion:

  1. index all base folder
  2. intersect all knwon files
  3. define a folderquery (by absolute file-path or md5sum etc.) that lists all missing files of a base folder vs intersection of all files

dirindex's People

Contributors

agape94 avatar rubienr avatar

Stargazers

 avatar

Watchers

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