How to move files from subfolders level up with AppleScript or Automator?
Hi Everyone,
I'm new to AppleScript as well as to Automator.
I have following issue.
Before starting I'd like to give an example the root of the main folder as well as subfolders
mainFolder/Subfolder1/Subfolder1.1/file1
mainFolder/Subfolder1/Subfolder1.1/file2
mainFolder/Subfolder1/Subfolder1.2/file1
mainFolder/Subfolder2/Subfolder2.1/file1
mainFolder/Subfolder2/Subfolder2.2/file1
mainFolder/Subfolder2/Subfolder2.2/file2
I need to move files from within Subfolders1.1, 1.2, to Subfolder1 , Subfolders2.1, 2.2 to Subfolder2 and than delete Subfolders1.1, 1.2 and Subfolders2.1, 2.2
I found number of AppleScripts as well as Automator workflow to move files from Subfolders to main directory but not to parent subfolder.
Is there any way to automate this task?
Thanks
OS X Mountain Lion (10.8)