os.path.expanduser(path) On Unix and Windows, return the argument with an initial component of ~ or ~user
report_full_closure() Print a comparison between a and b and common subdirectories (recursively).
shutil.move(src, dst, copy_function=copy2) Recursively move a file or directory (src) to another location (dst)
funny_files Files which are in both a and b, but could not be compared.
filecmp.clear_cache() Clear the filecmp cache. This may be useful if a file is compared so quickly after it is modified that
filecmp.cmp(f1, f2, shallow=True) Compare the files named f1 and f2, returning True if they seem
class pathlib.PurePath(*pathsegments) A generic class that represents the system’s path flavour (instantiating it creates either
os.path.getctime(path) Return the system’s ctime which, on some systems (like Unix) is the time of the last metadata change
os.path.splitunc(path) Deprecated since version 3.1: Use splitdrive
fnmatch.fnmatch(filename, pattern) Test whether the filename string matches the pattern string, returning
Page 9 of 19