| Sign In/My Account | View Cart |
| Article: |
Learning the Mac OS X Terminal, Part 5 | |
| Subject: | Sudo and ditto | |
| Date: | 2002-07-08 02:26:01 | |
| From: | tjj | |
|
Works very well, thank you. I like to back up my ~folder, once in a while. And if I run a script with ditto from my crontab it chokes: copying file ./Library/Preferences/com.apple.NetInfoManager.plist ... com.apple.NetInfoManager.plist: Permission denied /Volumes/FirewireDrive2/HomeBackUp/tjj/Library/Preferences/com.apple.NetInfoManager.plist: Permission denied If the script is run from terminal: sudo backup.sh, no problem. And ditto IS much faster copying 1.7 Gb than RsyncX sync'ing 1.4 Gb. But how do I get around the sudo issue with ditto? Regards Thomas Jon |
||
Showing messages 1 through 3 of 3.
crontab -e -u root
Read
man crontab