Git Product home page Git Product logo

cdcheck's Introduction

This is a python program that checks the integrity of all the files on a CD/DVD/BR/whatever. After it finishes checking the drive it displays a list of files that had read errors.

There are three versions of the program here that do more-or-less the same thing. The best version is probably cdcheck.py, it works by calling an OS function to copy the files to "NUL". For linux I guess you'd have to change "NUL" to "dev/nul" or something (I don't know a whole lot about linux) and also change one or two \'s to /'s and/or use os.path.join instead.

The other versions just open the files and read them and throw away the data. I think cdcheck3.py is a later version over cdcheck2.py.

One improvement that would be nice for someone to push would be the ability to take the drive letter/directory as a command-line parameter. Currently they're just hard-coded to use whatever drive letters that suited my purposes at the times of writing.

An option to suppress printing the name of every file it checks, or to print them all on the same line with each one overwriting the last, would be good too.

cdcheck's People

Contributors

inhahe avatar

Watchers

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