Duplicate Folder Names
PowerBook G4 Mac OS X (10.4)
tell application "Finder"
set sourceFolder to (choose folder with prompt "Choose the folder to copy")
set destFolder to (choose folder with prompt "Choose the destination")
if sourceFolder ≠ destFolder then
repeat with eachFolder in (get folders of sourceFolder as alias list)
set FolderName to ((name of folder eachFolder) as text)
make new folder at destFolder with properties {name:FolderName}
end repeat
end if
end tell
I assume that by "top level folders" you mean source and destination folders at the same level and not at "root" level.
Top Folder
--Subfolder 1
----Sub-subfolder 1
----Sub-subfolder 2
--Subfolder 2
Duplicate Folder Names