explanation

In directory above lots of folders of photos, run this to create a copy set of much-reduced in size photos