[Casper] Delete com.adobe.mediabrowser.plist

Miles Leacy miles.leacy at themacadmin.com
Wed Dec 31 05:57:34 PST 2008


username is $3
$1 is the mount point of the target drive
$2 is the computer name

$4 through $11 are configurable.

----------
Miles A. Leacy IV

 Certified System Administrator 10.4
 Certified Technical Coordinator 10.5
 Certified Trainer
Certified Casper Administrator
----------
voice: 1-347-277-7321
miles.leacy at themacadmin.com
www.themacadmin.com




On Wed, Dec 31, 2008 at 4:58 AM, Martin van Diemen <
martin-van-diemen at g-star.com> wrote:

> Hi,
>
> I want to delete the com.adobe.mediabrowser.plist (~/Library/Preferences/)
> for the user that's currently logging in. I tried to do this with a policy:
> Search for file by path: ~/Library/Preferences/com.adobe.mediabrowser.plist
> and Delete if found.
>
> This doesn't work because it can't find the file (cause it's using the
> casper account?).
> Is this possible with a variable e.g.
> /Users/$1/Library/Preferences/com.adobe.mediabrowser.plist? $1 doesn't work.
>
> If I use a script which variable tells me the login name of the user?
>
> Thanks in advance.
>
> Kind Regards,
>
> Martin van Diemen
>
> t +31(0) 205677744
> __________________
>
> G-Star International B.V.
> www.g-star.com
> _______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20081231/3d2468b9/attachment.html 


More information about the Casper mailing list