Re: Folder deletion
Re: Folder deletion
- Subject: Re: Folder deletion
- From: Philip Aker <email@hidden>
- Date: Thu, 18 Oct 2007 07:32:44 -0700
On 2007-17-10, at 23:37, damian crosby wrote: This is probably a real easy one, I’m looking for a way to delete the entire contents of a folder, whilst also keeping specific folders / items from deletion.
Here's one way to get a list of such items:
tell application "System Events" set dlist to items of desktop folder whose name is not ".DS_Store" and name is not ".localized" and name is not "Downloads" and name is not "temp" end tell
Any help on this would be appreciated
!
|
_______________________________________________
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