in reply to Re: Find all JPEG files in a directory
in thread Find all JPEG files in a directory
Update: changed single qutoes to backticks as originally intended.#perl use File::Slurp; write_file ('filenameW', $ENV{OS} =~ /Windows/i ? `dir /b *.jpg` : `ls + *.jpg` );
|
|---|