I used to import photos from my DSLR camera (Canon 50D) via Photos Library and then copy them from
~/Pictures/Photos Library.photoslibrary/Masters/ directory. They were grouped by year/month/day of import and all files had their original file names eg. IMG_123456.jpeg
Recently I've noticed that
Masters directory is missing (probably after update to Catalina). Imported photos seem to be located in
~/Pictures/Photos Library.photoslibrary/originals/ directory, however directories structure is illogical and file names are some hash values eg.
Does anyone know why is that? Can the "previous" approach with "Masters" directory be restored? How to retrieve files with their original names from Photos Library?