March 2003
Intermediate to advanced
656 pages
39h 30m
English
cmpfiles
cmpfiles(dir1,dir2,common,shallow=True,use_statcache=False)
Loops on sequence common. Each item of
common is a string naming a file present
in both directories dir1 and
dir2. cmpfiles returns
a tuple with three lists of strings:
(
equal,diff,errs
).
equal is the list of names of files equal
in both directories, diff the list of
names of files that differ between directories, and
errs the list of names of files that could
not be compared (not existing in both directories or no permission to
read them). Arguments shallow and
use_statcache are just as for function
cmp.
Read now
Unlock full access