Re: help with folder script
Re: help with folder script
- Subject: Re: help with folder script
- From: Philip Aker <email@hidden>
- Date: Tue, 2 Dec 2008 11:50:34 -0800
On 2008-12-02, at 11:31:55, David Wolfe wrote:
I'm wondering if it's possible to write a script that
1) runs on a file server each day. We could use some other mechanism
for running the script, like Hazel or launchd.
2) recurses down all levels of folders looking for any folder whose
name contains a certain string, like "Unaltered."
3) when such folders are found, the contents are evaluated to find
if any of the contents are NOT archive files (i.e., .zip, .sit, etc.)
4) if such files are found, they are individually zipped, then the
originals deleted.
What does everyone think? Possible? Could you give me a push to get
started?
Look into <x-man-page://find> with the 'xargs' option.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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