Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dunderchief

macrumors newbie
Original poster
Jan 26, 2011
1
0
I wrote a little cron job for myself that unzips/unrars a bunch of files in one directory and imports the resulting files to iTunes. For the iTunes import, I'm executing a command that looks like this:

open -a /Applications/iTunes.app /[target directory]

This works, but the music starts playing automatically after the import. Obviously if I want this to be a cron job, I don't want music to start blaring from my computer at random. Is there an easy way to import a file to iTunes without opening it, through the terminal?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.