All pastes #150029 Raw Edit

Something

public text v1 · immutable
#150029 ·published 2006-08-26 10:54 UTC
rendered paste body
import os.path, md5

copied = []
def copy (ignore, dir, files):
  for file in files:
    if not md5.new (file).digest () in copied:
      print "Copying %s" % file

os.path.walk ('/usr/share/doc', copy, 0)