|Jul 6, 2013, 06:08 PM||#1|
Shell Script Running and Password Problems
I have written the following script, which is intended to run at login:
mv /Library/"Application Support"/Digidesign/"Plug-Ins"/* /Library/"Application Support"/Digidesign/"Plug-Ins (Unused)"/ file=~/Desktop/"Plugins List.txt" while IFS= read -r line do mv "/Library/Application Support/Digidesign/Plug-Ins (Unused)/$line" "/Library/Application Support/Digidesign/Plug-Ins/" done <"$file" mv "/Library/Application Support/Digidesign/Plug-Ins (Unused)"/XPand* "/Library/Application Support/Digidesign/Plug-Ins/"
mv: rename /Library/Application Support/Digidesign/Plug-Ins (Unused)/Wurlitzer V.dpm to /Library/Application Support/Digidesign/Plug-Ins/Wurlitzer V.dpm: Permission denied
# User privilege specification root ALL=(ALL) ALL %admin ALL=(ALL) ALL OldBoyMusic ALL=(ALL) NOPASSWD:/plugin.sh
Secondly, does anyone know how I can get this script to run at login, I have tried setting up a plist in LaunchAgents, but this has not worked.
Thanks in advance for your responses,
|Jul 7, 2013, 01:47 AM||#2|
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Apple script batch shell script||prramesh||Mac Programming||5||Sep 15, 2013 03:35 AM|
|AudioScope.sh shell script...||wisecracker||MacBook Pro||0||Jul 31, 2013 01:31 PM|
|Anyone know how to use AppleScript or shell-script?||gba2000||Mac Applications and Mac App Store||0||Apr 23, 2013 11:14 AM|
|How to create a shell script and run it?||Killwin98||Mac Programming||3||Mar 18, 2013 06:39 PM|
|Need help with a shell script||thatgreenvw||Mac Programming||1||Nov 30, 2012 07:55 AM|
All times are GMT -5. The time now is 06:53 AM.