Lots of optimization of the code. Take care of case insensitivity in file system (Photos can handle multiple Albums with only difference in casing). Remove file sqlite3 table, and use in memory cash instead. Remove empty directories if all pictures have been removed.
Lots of optimization of the code. Take care of case insensitivity in file system (Photos can handle multiple Albums with only difference in casing). Remove file sqlite3 table, and use in memory cash instead. Remove empty directories if all pictures have been removed.

patrikhson/photo-export