Code Monkey home page Code Monkey logo

filecomparer's Introduction

fileComparer

A command-line program to compare files, delete duplicates, and swap files. Useful for managing a large database.

Every file in the RaddedMC folder is reusable in other projects, need a quick way to set up a friendly error throwing function? Check out RaddedMC/throwErr. Need to have colours in output? Check out RaddedMC/colors!

Am I getting off topic? Okay...

fileComparer is a file comparing program, hence the name. It is nowhere near as powerful as diff, and is NOT a substitute for it. It is instead a simple comparison program that can tell if a file is an exact duplicate, or will tell you how many characters differ in the file, checking for things like simple 1 character typos.

Installation is simple. Clone the repo and run the justcompile.sh script (install gcc if you haven't already!!). Copy the executable into your /bin or just run it directly with ./. This program should run in Windows with little to no changes but is made for Linux.

Usage:

  • fileComparer [FILE1] [OTHER FILES / *]
  • Checks differences and prints them
  • fileComparer -s / --swap [FILE1] [FILE2]
    • Swaps files
  • fileComparer -dd / --delete-dups [FILE1] [OTHER FILES / *]
    • Checks differences, if any, delete!
  • fileComparer -h / --help
    • Prints help
  • fileComparer -v / --verbose
    • With any valid function, will print verbose output

filecomparer's People

Contributors

raddedmc avatar

Stargazers

 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.