Separate Folders Every Other Shot

I’m trying to use a background removal program on my images. This utilizes a form of bracketing. I trigger my cameras with a wired trigger (I do not use Capture Grid USB to trigger the camera.)

Is it possible to send every other photograph to a different folder? For example: 48 shots, two folders, 24 images in each folder.

Thank you!