Re: Apple can it do this?
Re: Apple can it do this?
- Subject: Re: Apple can it do this?
- From: Hanaan Rosenthal <email@hidden>
- Date: Wed, 24 Mar 2004 10:02:14 -0500
- Organization: Custom Flow Solutions
Everything you describe is very possible.
Where are the files you want to delete? Are they always in the same folder or
folders?
Will you need to recursively delete files from nested folders as well?
The basic is:
tell app "Finder"
delete every file of folder "Path:to:folder" whose name ends with ".log"
--...etc.
end tell
You can use iDo Script Scherduler to schedule your scripts:
http://www.sophisticated.com/products/ido/ido_ss.html
Hanaan
>
>
Okay, I am new to apple-script,
>
in which, I want to do somethings,
>
with my Mac.. First being this:
>
>
Can Apple-script do the following;
>
>
make a script, that will delete
>
all .log files, and backup.log files,
>
and .caches ?
>
>
And now the kicker,
>
have some type of Cron / Timer, thing happening
>
where, you can adjust the timing of the activation
>
of the script. i.e. every hour, every two hours,
>
etc...
>
>
Okay, Anyone?
>
>
Tks
>
Rick
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/
applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.