I have 3 folder:
JPG folder: contains my modified JPG files, the name of file is (examples): DSC02996 20181027 201438 (LR).jpg
RAW folder: contains my RAW files, the name of file is (examples): DSC02996.RAW
DESTINATION folder: i want to copy here my RAW file.
I need a script that looks for the beginning of the name in the JPG folder, then looks for the file in the RAW folder and copies the result to the DESTINATION folder.
Thanks in advance. Guido