Why two camera folders matter
Sony cards can span two numbered camera folders after the file counter rolls over. This utility puts each folder’s five-star ARW files in its own SELECTS_5STAR directory so those files can be imported separately. The source reads the embedded XMP rating. Sidecar ratings are outside that workflow.
Try the sorting path on a copy
The download contains the JavaScript source, ExifTool instructions and a macOS build script. Start with a duplicated test folder. Arrange two camera folders under DCIM and use disposable files with embedded five-star, four-star and absent ratings. The sorting command moves the five-star files within the copy. Reopening the same copy should leave the selects tree unchanged.
Where testing stopped
A fresh source test used TIFF fixtures with ARW filenames so it could exercise embedded ratings and file movement without touching a camera card. Both five-star files moved, other files stayed put, and the second run created no nested selects folder. An earlier desktop window was reported unresponsive. This entry provides the sorting source for inspection and testing. An interactive app release still needs a desktop smoke test.
