copy command from terminal

Joined
Jun 8, 2008
Messages
2
Reaction score
0
Points
1
I wrote a 4 line script to automate backing up files from my usb pen to my hard drive. I am getting an error


cp -R photos/ /Users/blah/photos/

picture.jpg: could not copy extended attributes to /Users/blah/photos/picture.jpg: Operation not permitted


If I cd into the photos directory and say
cp picture.jpg /Users/blah/photos/ This works!

Thanks in advance.
sgribber
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top