Re: Shell Script not working
Re: Shell Script not working
- Subject: Re: Shell Script not working
- From: Bill Briggs <email@hidden>
- Date: Tue, 31 Jul 2007 09:24:32 -0300
At 10:19 AM +0100 7/31/07, bca wrote:
>I am trying to set the following cmds as a shell script which is to execute
>at login using LoginWindow Manager from Bombich, but everytime I test it I
>get error messages.
>
>#!/bin/tcsh -f
>sudo rm -dfr /Library/Caches/com.apple.ATS/
>sudo rm -f /System/Library/Caches/com.apple.ATS.System.fcache
>sudo rm -f /System/Library/Caches/com.apple.ATSServer.FODB_System
>sudo rm -f /System/Library/Caches/com.apple.ATSServer_System.fodb
>sudo rm -f /System/Library/Caches/fontTablesAnnex
>exit 0
>
>Any ideas?
In "rm -dfr" if you invoke the "r" option, you don't need "d", but that's overridden so it shouldn't be what's causing the error.
What error messages are you getting? That would help a lot. And what version of the system are you running? The only one of those files that exists on my system is the one in line 2 of your script. None of the others are present in the current version of the OS (10.4.10). Are you on 10.2.x or 10.3.x?
- web
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden