Skip to content
/ cdcheck Public

Python program that checks the integrity of all the files on a CD/DVD/BR/whatever. Could also be used for any arbitrary drive or directory, of course.

License

Notifications You must be signed in to change notification settings

inhahe/cdcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Python program that checks the integrity of all the files on a CD/DVD/BR/whatever. Could also be used for any arbitrary drive or directory, of course.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages