Merging to unique folders

Abstract: Move folder contents to another folder with same name (merging), the folder names which will be merged will be unknown at time of writing hazel commands.
iTunes downloads podcasts for me to the iTunes media folder. these are automatically placed into this folder e.g
Itunes gives the names of folders and episodes in a mixed fashion (some are named with episode first then title, others have 'title - episode - season'.
Im wanting to use Hazel to move these Podcasts into another folder on my mac (user/Podcasts), it would be required for each Podcast show to have its own folder within the user/podcast folder, However as itunes periodically releases new episodes, these as new episodes are need to be merged.
Ive researched and found that i can use an apple script to do the merging
However Im not sure what the directory names will be as they will be unique to the podcasts that I have and other podcasts which I may subscribe to later.
Thanks.
(if possible would very much appreciate an explained methid, as im very new to macs/using terminal commands ect)
iTunes downloads podcasts for me to the iTunes media folder. these are automatically placed into this folder e.g
- Code: Select all
->Itunes Media
->Podcasts
->Podcast Show 1
->Episode 1.m4a
->Episode 2.m4a
->Episode 2.m4a
->Podcast Show 2
->Episode A.mov
->Episode B.mov
->Episode C.mov
Itunes gives the names of folders and episodes in a mixed fashion (some are named with episode first then title, others have 'title - episode - season'.
Im wanting to use Hazel to move these Podcasts into another folder on my mac (user/Podcasts), it would be required for each Podcast show to have its own folder within the user/podcast folder, However as itunes periodically releases new episodes, these as new episodes are need to be merged.
Ive researched and found that i can use an apple script to do the merging
- Code: Select all
ditto directory_1 directory_2
However Im not sure what the directory names will be as they will be unique to the podcasts that I have and other podcasts which I may subscribe to later.
Thanks.

(if possible would very much appreciate an explained methid, as im very new to macs/using terminal commands ect)