jeffshumphreys / filmcab

A film collector's management system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In scan_file_directories_for_files: SKIP files in unchanged directories, but drill down all directories

jeffshumphreys opened this issue · comments

Performance on this task/script is horrendous. Granted, directories don't cascade up the changed timestamp to higher directories, but they do set themselves if any files change or are new in itself. So that's a lot of files I can skip. Sort subdirectory files by change date descending? Then only process ones that are changed from existing record, and then skip the rest!

This could go fast.