in reply to Find Photos Taken During A Certain Time Range

Marginal cygwin experience, but maybe explicitly iterate over the drives mapped using something like this?

for my $drive (glob(q{/cygdrive/*})) { for my $file ( File::...as before...->in( $drive ) ) { ## as before } }

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: Find Photos Taken During A Certain Time Range
by flexvault (Monsignor) on Jan 08, 2021 at 21:24 UTC

    Dear Limbic~Region,

    I put a ".jpeg" and a ".jpg" dummy files in the '/' directory and your script didn't find either. I did this after running the script for a half hour without finding anything and I have lots of ".jpg" files on my Window 10 system, so I suspect the cygwin version "File::Find::Rule" may have a problem. I use the X windows environment on Win10 to connect to Linux systems.

    Regards...Ed

    "Well done is better than well said." - Benjamin Franklin