ianPark
8/9/2019 - 5:16 PM

Duplicat Files (Finder)

tell application "Finder"
	
	-- SELECT FOLDER
	set dupTo_folder to choose folder with prompt "Please select the folder you wish files to be duplicated to."
	
	-- SELECT FILES
	set dup_files to choose file with prompt "Please select the files to duplicate." with multiple selections allowed
	
	-- DUPLICATE FILES TO SELECTED FOLDER
	repeat with i from 1 to count of dup_files
		duplicate item i of dup_files to dupTo_folder with replacing
	end repeat
	
end tell