I am using below to remove files from disk.
    def match_files(dir, pattern):
       for dirname, subdirs, files in os.walk(dir):
          for f in files:
             if f.endswith(pattern):
                yield os.path.join(dirname, f)
    # Remove all files in the current dir matching *.txt
    for f in match_files(dn, '.txt'):
       os.remove(f)
What I would to remove files from disk that "was not updated today." List the files from today. Check against to update list.
 
     
     
    