I’ve just installed Immich, so far so good, i’m impressed.

However it appears it doesn’t scan folders recursively and the my photos are currently organised means some are three to folders deep.

How do i extract all the folder contents into the parent folder using command line?

The photos are all currently backed up.