If you don't have that many you can do this manually by using Bridge filters. Although I believe it's not 100% accurate in filtering for example if a picture is square. I don't think that PS scripting will actually move files, but it will copy and eliminate duplicates. The Bridge script will give you the possibility to create Landscape, Portrait, and Square folders, but I'm afraid I don't have the said script right now... I have asked a friend to share it with me when he has the time. In the meantime, what kind of photography do you prefer the most? I've recently started focusing on flat lay photography, and since I'm a foodie, taking flat lay pics of the food became my new passion in no time!