You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Moving files from sub-folder to main folder (repeat on multiple main folders) - Apple Script

I have some folders like this... 'Music' is the common sub-folder under each Main Artist folder


Parent Folder > Artist 1 > Music > File 1, File 2, File 3, etc

Parent Folder > Artist 2 > Music > File 1, File 2, File 3, etc

Parent Folder > Artist 3 > Music > File 1, File 2, File 3, etc

Parent Folder > Artist 4 > Music > File 1, File 2, File 3, etc


I want to move File 1, File 2, File 3, etc, out of the Music folder to the Main Artist Folder to look like the following: (Basically delete the 'Music' folder.


Parent Folder > Artist 1 > File 1, File 2, File 3, etc

Parent Folder > Artist 2 > File 1, File 2, File 3, etc

Parent Folder > Artist 3 > File 1, File 2, File 3, etc

Parent Folder > Artist 4 > File 1, File 2, File 3, etc


I have tried my hand at Apple Scripts and figured out how to do this for One Main Artist Folder and one time.

How do I repeat the command without manually changing the Main Folder each time? In other words, Can I run a script command to automatically repeat on all Main Artist Folders? (All Artist Main Folders are under one Parent Folder)?


Thanks in advance !

nyx MacBook Pro

Posted on Jul 27, 2023 5:18 PM

Reply

Similar questions

2 replies

Jul 29, 2023 1:37 PM in response to niks2481

niks2481 wrote:

I have some folders like this... 'Music' is the common sub-folder under each Main Artist folder

Parent Folder > Artist 1 > Music > File 1, File 2, File 3, etc
...
I want to move File 1, File 2, File 3, etc, out of the Music folder to the Main Artist Folder to look like the following: (Basically delete the 'Music' folder.

Parent Folder > Artist 1 > File 1, File 2, File 3, etc
...
I have tried my hand at Apple Scripts and figured out how to do this for One Main Artist Folder and one time.
How do I repeat the command without manually changing the Main Folder each time? In other words, Can I run a script command to automatically repeat on all Main Artist Folders? (All Artist Main Folders are under one Parent Folder)?


Why not post the script you have so far as a stating point...(?)


Moving files from sub-folder to main folder (repeat on multiple main folders) - Apple Script

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.