Skip to content

Utility for comparing directories and their files on Linux and Windows

Notifications You must be signed in to change notification settings

Twitch/Python-File-Compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

/*********************************\
           filecomp.py
     Will compare files in two
      directories for missing
      and/or mismatched files
       (based upon md5sums).

      Currently a bit sloppy
       and lacks recursion.

     Written by Twitch(Ben) 
\*********************************/

This is a very small, as of yet, utility to compare the contents of a pair of directories. This became necessary when managing archived files with their originals and is likely quite useful for managing files/data across multiple systems (without using something overly complex like git/svn/cvs).

Recursion is now in place, though not exceedingly well tested.

2010-07-21

   Picked up some touch-ups again. This now runs against UNIX files (i.e. '/' vs. '\')  rather than FAT paths. I should try to fix this to do both soon. I can borrow some code from another project I did something similar in.

2010-07-23
	Fixed the shebang to run in both environments and added os.name checks to use a pathsep so that this will run in *nix and Windows environments.

About

Utility for comparing directories and their files on Linux and Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages