Posted on 08-18-2009 06:32 AM
Dear all-
I'm scriptally challenged...
this has got to be the most basic elementary script, but I haven't
ventured into scripting yet, so if someone could help, I'd appreciate
it!
I'm looking to write a simple post-image script to remove the
/Applications/iMovie (previous version) folder
thanks in advance,
-
lauren
-
LAUREN NICHOLAS
User Support Analyst - Hurd Campus
Center for Information Technology - CIT
Moravian College
adjunct prof | graphic design & music
ph. 610 861 1633
lpnicholas at moravian.edu
Posted on 08-18-2009 07:05 AM
If all you want to do is remove the folder it should be a simple:
#!/bin/bash
/bin/rm -r /Applications/iMovie
Ryan Harter
UW - Stevens Point
Workstation Developer
715.346.2716
Posted on 08-18-2009 07:14 AM
You don't even need to write a script. Just create a casper policy with
the run command option under the advanced tab. Then put in your 1 line
of code to remove that application. Then set the policy to run after
image or at first boot.
I would take that out of your image if possible.
Posted on 08-18-2009 07:48 AM
With the spaces, you'll need:
rm -r "/Applications/iMovie (previous version)/"
The quotes will let you out of needing to exception the special characters and spaces. We are still using the previous version, so I won't be running that anytime soon!
John
--
John Wetter
Technology Support Administrator
Educational Technology, Media & Information Services
Hopkins Public Schools