Giter Club home page Giter Club logo

comparefolders's Introduction

CompareFolders

Two simple Python programs to show files inside a directory tree and compare them

To run it:

Scan

(Your Python version must be >=3.5)

Simply go to it's directory in terminal and type:

python Scanner.py "%ABSOLUTE_PATH_TO_THE_DESIRED_DIRECTORY%"

Example: python Scanner.py "C:\Program Files\Git"
It will generate a .txt file called "output.txt" where each line is a relative path of the file (to the path you chose) and the size of the file in Bytes.

Known issues:

  • In some folders it will throw PermissionError,
  • It doesn't have exception handling, so Stack Traces may be showing up

Compare

Simply go to it's directory in terminal and type:

python Compare.py "%ABSOLUTE_PATH_FIRST_FILE" "%ABSOLUTE_PATH_SECOND_FILE"

Note that the first file must be a version before the second file, in other words, the first file is the older one.

Example: python Compare.py "C:\Program Files\Git" "C:\Program Files\Gitv2"
It will generate a .txt file called "compared.txt" where each line is a relative path of the files (to the path you chose) that are different from the first file or have a different size of a equal file.

comparefolders's People

Contributors

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