copying contents of a folder into another folder

Hi all…

What code can I use to copy the CONTENTS of a folder (not the actual folder itself) into another folder?

Thanks a lot!

-Mel

Ditto is a good option.

-- look at the ditto man page for options

set originating_folder to quoted form of POSIX path of "origFolder:path:"
set destination_folder to quoted form of POSIX path of "destFolder:path:"

do shell script "ditto " & originating_folder & space & destination_folder

Thanks!

Your code sent me on my way to get what I needed! :slight_smile:

-Mel :wink: