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

GoodDoc

macrumors newbie
Original poster
Jan 19, 2009
8
0
TL;DR

When I copy files to "Automatically Add to iTunes" using finder the files are added to my iTunes library, but when I use the command line (Terminal.app) to copy the same files they are moved to the "Not Added" folder.

------

For some time now I've been using the "Automatically Add to iTunes" folder to add media into my itunes library. It works exactly as you would expect.

However I've hit an issue with using the command line to do this. If I use the following command to copy several files into the auto add directory;

Code:
cp *.m4v /Volumes/Drobo/iTunes/Automatically\ Add\ to\ iTunes.localized

The files are copied, but are moved to a time stamped folder in the "Not Added" directory. I get the same result if I 'pull' the files to directory.

Code:
gooddoc@iMac:$ cd /Volumes/Drobo/iTunes/Automatically\ Add\ to\ iTunes.localized
gooddoc@iMac:/Volumes/Drobo/iTunes/Automatically Add to iTunes.localized$ cp /Volumes/InternalHDD/Data/Output/Video/*.m4v .

If I use finder to copy the same files by simply dropping them into the folder the files are copied and successfully added to iTunes, but if I use the command line iTunes can 'see' the files but has a issue with them and won't import them.

Any ideas where I'm going wrong, or what's going wrong?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.