Re: finder - how do I rename/move this?
Re: finder - how do I rename/move this?
- Subject: Re: finder - how do I rename/move this?
- From: Michelle Steiner <email@hidden>
- Date: Fri, 23 Dec 2011 11:10:53 -0700
On Dec 23, 2011, at 10:50 AM, Dave wrote:
> filemaker server daily creates a backup with a time date stamp like:
> THIS-FOLDER_2011-12-22_2245
>
> now I need to move it's contents elsewhere
>
> since it is always different name ever day - I can't get to it with
> simple scripting
>
> here is the path...
>
> maindrive/bu1/bu1a/THIS-FOLDER_2011-12-22_2245/main-here
Assuming that the name always begins with "THIS_FOLDER", the following will get you the folder
set parent_folder to POSIX file "/bu1/bu1a" as alias
tell application "Finder"
folders of (parent_folder) whose name begins with "THIS-FOLDER"
end tell
-- Michelle
--
"Colorless green ideas sleep furiously."
_______________________________________________
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