I need to move the entire contents of folders into a different directories but they are folders that have the exact same name:
tell application “Finder”
set srcPath to ((parent of (path to me) as text) & "Motion Templates" as text)
set targetFolder to (((path to movies folder) as text) & "Motion Templates.localized" as text)
display dialog srcPath
display dialog targetFolder
move entire contents of srcPath to targetFolder
end tell
Inside of the Motion Templates directory are other folders that share the exact same name and I want the the contents of the folders that share the same name to be moved into the targetFolder. I have searched all over for a solution and have yet to find a post or tutorial that helps for this specific issue. Please any help would be greatly appreciated.