| 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.
-
Sudo and ditto
2002-07-13 10:04:24 markedwards2 [View]
-
Sudo and ditto
2002-08-07 01:32:12 tjj [View]
Right, thanks. That did the trick:) -
Sudo and ditto
2002-08-07 01:30:28 tjj [View]
Right, thanks. That did the trick. Now it runs without choking.
Ditto copies 1.3 Gb much faster than rsync (RsyncX) synchronizes the same directories with a lot of changes.



crontab -e -u root
Read
man crontab