If without a Terminal and other side is a Mac then easiest way for me is to copy folders and it's content on a Mac, then in Finder click on this button (top middle side of a window; will change view type)
View attachment 2097422
from there you can quickly expand folders and drag items from there
You may try with Spotlight search: just move photos and subfolders to a separate folder –> then press Command + F + . at the same time –> select any file type – Image