New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

iTunes Applescript copy to NAS


Post Reply New Thread Subscribe

 
Thread Tools
shughes

 
Member Since: Jan 05, 2012
Posts: 2
shughes is on a distinguished road

shughes is offline
Hi, I am trying to get a simple Applescript to allow me to select a bunch of files in iTunes, and the script will copy the files across to my NAS as a backup. I want the script to have coded into it the base location of my music directory on the NAS, and the script will take the artist name and album name from each track and copy it into the following file location \\baselocation\artist\album\tracknumber - tracktitle.fileextension

I have looked around the internet, including dogs scripts, but can not find anything relevant. I have code for selecting the files and created a for loop to enumerate them, but can't figure out how to generate the correct file path, or copy file syntax. Any help much appreciated.

Thanks
QUOTE Thanks
Lbatson21

 
Member Since: Aug 17, 2010
Posts: 247
Lbatson21 has a spectacular aura about
Mac Specs: 2011 Mac mini and 2010 13" MacBook Pro, iPhone 4 and iPad

Lbatson21 is offline
You can probably do this with just a script but I use an application called backuplist+ Here's a link for it Rob DuToit OSX Software It's been a great tool so far and has several options for backups and works fine with a NAS setup.
QUOTE Thanks
shughes

 
Member Since: Jan 05, 2012
Posts: 2
shughes is on a distinguished road

shughes is offline
Thanks for that, I will take a look.

But I am hoping to do this as a script as it needs to be part of a workflow. I rip the CD into iTunes in Apple Lossless format, select the script, and I want it to copy the files to the nas, convert them to aac128 format, and then delete the original lossless file.

End result is a nice lossless file on the NAS for the Sonos to play, and a nice compressed version in iTunes for me to sync to iPhone,iPad, etc.

Thanks
QUOTE Thanks
Lbatson21

 
Member Since: Aug 17, 2010
Posts: 247
Lbatson21 has a spectacular aura about
Mac Specs: 2011 Mac mini and 2010 13" MacBook Pro, iPhone 4 and iPad

Lbatson21 is offline
Ah I see. More than just a simple backup to NAS. Well here's a good place to start. Doug's AppleScripts for iTunes Quite a few scripts that could maybe do what you need.
QUOTE Thanks

Post Reply New Thread Subscribe


« "Select audio output" applescript? | AppleScripting Archiving to Finder of Mail Messages »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Applescript and iTunes tgaleza Music, Audio, and Podcasting 0 10-07-2009 02:03 PM
iTunes via NAS spolebitski Music, Audio, and Podcasting 5 12-13-2008 06:17 AM
Sony XCP copy protection and iTunes? Gargantua Music, Audio, and Podcasting 3 10-09-2007 11:48 AM
Want to compelte copy DVDs, convert for iTunes fleurya Movies and Video 1 07-21-2007 07:17 AM
iTunes is setting its own burn speeds... help! Manny Pantz iPod Hardware and Accessories 4 03-15-2007 02:41 AM

All times are GMT -4. The time now is 05:04 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?