Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with Automator script ....again.
#1
I wrote this to remove sub-folders on my music USB stick for the car.
The car software can only access 1500 folders in total.
I have subs for every LP of every one of 300 or so artists, so I've run out.

I would like to be able to d&d a number of folders onto the app at once rather than 1 at a time. Sloooooow.

When I try that now, all the songs of all artists end up in the 1st artist folder.

Can anyone help augment this script?



“Art is how we decorate space.
Music is how we decorate time.”
Jean-Michel Basquiat
Reply
#2
Ohhhhh...I like that idea. :popcorn:
Reply
#3
I’m getting lost. Need specific examples showing before and after.
Reply
#4


all the cuts from all the LP subfolders, move to 1 folder for each individual artist.
right now I can do it with that script, but one artist at a time.

I'd like to d&d 10 artists folders onto the automator app at once and have all songs for one artist go to that artist folder.

“Art is how we decorate space.
Music is how we decorate time.”
Jean-Michel Basquiat
Reply
#5
Automator is practically incomprehensible to me, so I'm not the one to advise you on your requested method. AppleScript, however, could easily do the job.

set enclosingFolder to (choose folder)

tell application
Finder
set AllFolders to enclosingFolder's folders
repeat with aFolder in AllFolders
move aFolder's entire contents's files to aFolder
delete aFolder's folders
end repeat
end tell
Reply
#6
unfortunately, script didn't do anything.
“Art is how we decorate space.
Music is how we decorate time.”
Jean-Michel Basquiat
Reply
#7
Surely the script returned some value in the Script Editor, even if it was an error. Did you run the script on the correct folder? The enclosing folder choice must be the folder that contains all the other music folders—from Alice Coltrane to Be-Bop Deluxe.
Reply
#8
operator error. works very well on a test of 10 folders and their subs.
Thanks very.
“Art is how we decorate space.
Music is how we decorate time.”
Jean-Michel Basquiat
Reply
#9
Thanks again, Marc. works quite well.
“Art is how we decorate space.
Music is how we decorate time.”
Jean-Michel Basquiat
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)