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?
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?