To copy a quark file from one to another foler

Hi,

Can you help me to write a code that copy the quark file from a given folder to another given foleder.
Also I want to copy only the file that contains the word “TEMP” in its file name.

Can anybody help me to write the script.

Thanks,
Krishnan

HI,

something like this


set sourceFolder to choose folder with prompt "choose source folder"
set destinationFolder to choose folder with prompt "choose destination folder"
tell application "Finder" to duplicate (get files of sourceFolder whose name contains "TEMP") to destinationFolder